in reply to Re: Re: dos EOF in linux
in thread dos EOF in linux
And may I point out that
is not the same as (excepting the variable used)while ( my $line = <INPUT_HANDLE>) {
I believe that should readwhile ( <INPUT_HANDLE> ) {
But personally I dont see the point. You shouldnt be afraid of using $_.while ( defined ( my $line= <INPUT_HANDLE> ) ) {
--- demerphq
my friends call me, usually because I'm late....
|
|---|