On Mar 15, Larry Rosler said: >> { local $/, $file = <FILE> } > >No one has pointed out that the commas in your code should be >semicolons. That suppresses some warnings about unparenthesized lists >for 'local', but doesn't affect the results. Where (what version of Perl) do you get these warnings in? I use a comma because it's weaker than local(), and because it's "fun". (Useless use of double quotes there, when single quotes would have done, I'm sure.) -- MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve japhy@pobox.com http://www.pobox.com/~japhy/ http://pinyaj.stu.rpi.edu/ PerlMonth - An Online Perl Magazine http://www.perlmonth.com/ The Perl Archive - Articles, Forums, etc. http://www.perlarchive.com/ ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe