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 :(
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.=$_;}...
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...
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"...
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.
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.