Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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

by jynx (Priest)
on Jan 16, 2001 at 02:11 UTC ( #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.


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.


      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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2023-04-02 02:54 GMT
Find Nodes?
    Voting Booth?

    No recent polls found