in reply to Re: To Kill a Meme: while(defined($line = <>))
in thread To Kill a Meme: while(defined($line = <>))
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: To Kill a Meme: while(defined($line = <>))
by Nkuvu (Priest) on Nov 03, 2003 at 12:38 UTC |