in reply to TIMTOWTDI -- so long as it's not my way
i think my favorite mistake so far is:
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! : )open FILE, $file or die "Couldn't open file: $!"; my @file = <FILE>; foreach (@file) { s/ome/substitution/ if ($applicable); } close FILE;
Anyway, ++ Ovid, i fell out of my chair laughing from that code. Thanks for the good cheer.
jynx
In Section
Meditations