All of my file readings that use while loops pretty much use the syntax while(chomp($line = <FH>) already...
You aren't by any chance the author of the Perl books that are in use by HP-Education, are you? For a long time I thought that the Perl books SUN-Education made were the worst Perl books ever made, but then I got to see the HP books, full of gems like while(chomp($line = <FH>).
Abigail
In reply to Re: To Kill a Meme: while(defined($line = <>))
by Abigail-II
in thread To Kill a Meme: while(defined($line = <>))
by sauoq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |