Michael Schwern wrote: > My co-worker has this tendency to dig up and use every single obscure > feature of Perl. He showed me this one the other day, for those of > you who are -really- into the whole OO thing: > > use IO::Handle; > > open(FILE, "whatever"); > while($line = *FILE->getline) { > *STDOUT->print($line); > } > *STDOUT->print("This is just plain wrong.\n"); Before you slap him upside the head for the OO stuff, break his kneecaps for this: open(FILE, "whatever"); > Some sort of weird backwards compatibility thing <shudder>. Hey, it comes in mighty handy sometimes. John Porter ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe