http://qs1969.pair.com?node_id=52078


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