develooper Front page | perl.perl5.porters | Postings from November 1999

anecdote , was : Re: perl 5.005_03 hangs while flock-ing?

Thread Previous
Greg McCarroll
November 19, 1999 11:45
anecdote , was : Re: perl 5.005_03 hangs while flock-ing?
Message ID:
At 20:18 19/11/99 +0100, Alex Farber wrote:
>> >hopefully I am not doing some very stupid mistake at the end of a hard
>> >working week, but the following script hangs (probably while trying to

as its friday and i rarely post here, i'll tell you all of my classic
mistake this week,

i was writing a quick script, i prototyped its guts quickly and used 
perl -n to test it. once i was happy it worked, i added all the file
and directory stuff, and tested it again, it hung. i sat back puzzled
and then killed it to test it again, it hung again, while staring
at the terminal i realised i was still using the perl -n line in
this history, doh! no matter how good the language, a programmer can
always find new ways to confuse themselves,


 "Computer, if you don't open that exit hatch pretty damn pronto, I shall go
 straight to your major data banks with a very large axe and give you a
 reprogramming you will never forget, capisco? [Pause] Okay. Get the axe."
 - Zaphod Beeblebrox , The Hitchhiker's Guide to the Galaxy
****    Greg McCarroll (, London, England    ****

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About