in reply to Trying to use Spreadsheet::WriteExcel. What could be the problem?
instead ofnext if ($line !~ /logging\sto\sDevice\s(.*?)\s+/i) and !eof(inFile);
next if ! ($line =~ /logging\sto\sDevice\s(.*?)\s+/i) and ! eof inFile;
Use parentheses wherever you can, it will help us to read your code :) As perlstyle says, the fact that you can omit parentheses doesn't means that you should not write them :).
Igor 'izut' Sutton
your code, your rules.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Trying to use Spreadsheet::WriteExcel. What could be the problem?
by Anonymous Monk on Feb 15, 2006 at 11:35 UTC |