Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. NeilFawcett

    After uninstalling NAV2003, trying to copy/delete files hangs my PC!

    When I try to copy or delete any file on my PC it now hangs. CTRL-C, right click, anything like that on any file, hangs my machine. If I re-install NAV2003, all's OK. Unistall, problem re-appears... HELP!! I want this monster off my machine :(
  2. NeilFawcett

    Perl always reads in 4K chunks and writes in 1K chunks... Loads of IO!

    I've been doing some analysis of some of my perl scripts... Take this simple example reading/writing a 1 meg file (with about 3000 lines):- #!/usr/bin/perl $|=1; print "Content-type:text/html;charset=ISO-8859-1\n\n"; open DF,"test.txt"; @test=<DF>; close DF; my $rec; foreach(@test){$rec.=$_;}...
  3. NeilFawcett

    How do you conditionally &quot;use&quot; a library? ie; I may or may not exist!

    I either want to put a condition around a "use" statement, or not crash if it's not found. ie: If I have the coding:- use Net::SMTP; And that library does not exist I want to be able to condition it, or just not crash...
  4. NeilFawcett

    Can't get NET::SMTP to work... Can someone help?

    Here's a script I've written:- #!/usr/bin/perl use Net::SMTP; print "Content-type: text/html\n\nMail Test<BR>"; $smtp = Net::SMTP->new('mail.mydomain.com'); $smtp->mail("test\@mydomain.com"); $smtp->to("my\@emailaddress.com"); $smtp->data(); $smtp->datasend("Hello!\n\n")...
  5. NeilFawcett

    Anyone ever experience SendMail jam/hang up on them?

    I'm currently suffering from a problem on my server (started last night), where any attempt I make to do a sendmail hangs... The process just sits there and goes no where... Anyone ever had anything like this happen to them? My server company will no doubt try and blame me for this "hanging"...
  6. NeilFawcett

    Is it possible to see if a file is locked or not?

    Can you see if someone has a file locked (via FLOCK)? I don't necessarily want to read the data from a file, just see if it is locked or not by someone.
  7. NeilFawcett

    What is the most reliable way of updating a test file?

    I'm periodically getting corrupted records from my perls scripts. They are blank, etc. I recon this could be down to when the system hiccups/crashes and my perl scripts happen to be running at the time... Is this the most reliable/best way to process a text file? #!/usr/bin/perl use Fcntl...
  8. NeilFawcett

    Sendmail seems unrealiable, any idea why?

    For example, I had an apparent 8 hour window this morning when none of my email notification that went out to the 20+ people who registered on my forum got to them! Prior to this, and afterwards, the emails seem to arrive. I seem to have a lot of emails that seem to fail to arrive via...
  9. NeilFawcett

    What does &quot;$|=1&quot; actually mean/do?

    What does "$|=1" actually mean/do?
  10. NeilFawcett

    Why is this coding blanking out my data file?

    I was playing around with ways to speed up my file updates. My original coding was along these lines:- open LOCK,'>lock.lock'; flock LOCK,2; open AC,"test.txt"; flock AC,1; @rec=<AC>; close AC; # Process @rec in someway! open AC,">test.txt"; flock AC,2; print AC @rec; close AC...

Part and Inventory Search

Back
Top