Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: TIMTOWTDI -- so long as it's not my way

by jynx (Priest)
on Jan 16, 2001 at 02:11 UTC ( [id://52078]=note: print w/replies, xml ) Need Help??


in reply to TIMTOWTDI -- so long as it's not my way

i think my favorite mistake so far is:
open FILE, $file or die "Couldn't open file: $!"; my @file = <FILE>; foreach (@file) { s/ome/substitution/ if ($applicable); } close FILE;
i couldn't understand for two days why the output was always a blank file. (i embarassingly had to hand it to a friend for him to notice i wasn't writing the file out! : )

Anyway, ++ Ovid, i fell out of my chair laughing from that code. Thanks for the good cheer.

jynx

Replies are listed 'Best First'.
Re: Re: TIMTOWTDI -- so long as it's not my way
by jplindstrom (Monsignor) on Jan 16, 2001 at 02:53 UTC
    Just telling someone else about a problem is often all you need to realize what the problem (and the solution) is.

    /J

      A friend of mine called that "The Mannequin Effect" and just wanted a mannequin to wheel around the office to people who knew they were doing something stupid, but couldn't figure out why. That way you wouldn't pull someone off work just to have you go "Doh!"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://52078]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-19 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found