in reply to Trying to use Spreadsheet::WriteExcel. What could be the problem?

I suggest you to use
next if ($line !~ /logging\sto\sDevice\s(.*?)\s+/i) and !eof(inFile);
instead of
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
    Hi Nope that need not be.... Looping inbetween the interfaces is not happening ?