in reply to need a clearer understanding
$line can be empty after chomp. So the code between the if() doesn't get executed if line is empty.chomp $line; if(not($line eq "")) { ##### why does $line equal "" ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: need a clearer understanding
by Anonymous Monk on Aug 09, 2011 at 20:27 UTC |