in reply to RE: Default Line in Loops
in thread Default Line in Loops

Personally, I'd do:
print while <FH>;
or even: print do { local($/), <FH> }; But think, for a moment, about:
while (sort <FH>) { print; }
You're now calling sort() in scalar context. It returns false, so that while() loop doesn't do jack. And I HIGHLY recommend against
for (<FH>) { print; }
Since that builds up a list of all the records in FH. -- japhy on EFnet, japh on DALnet, Jeff on Earth