in reply to Re^2: Filehandler Trouble
in thread Filehandler Trouble

I found where the trouble is please see the below code.
$workbook->close() or die "LOG->Error Closing File: $!";
The code was changed to the below.
$workbook->close() or die "Error Closing File: $!";
Can you please explain what is wrong with the original syntax?

Replies are listed 'Best First'.
Re^4: Filehandler Trouble
by chromatic (Archbishop) on Dec 16, 2004 at 04:28 UTC

    The only difference between those two lines is the contents of a string. Because those differences have no interpolations, they should have no effect in a well-behaved Perl, except in the message printed on failure.

    Unless you wanted to change the message printed, there's no way I know of that this could possibly solve your problem. It must have been another change.