in reply to Re: Filehandler Trouble
in thread Filehandler Trouble

Presumably it's the name of a global filehandle, as in:

open LOG, '>', $filename or die "Can't open '$filename': $!\n";

Replies are listed 'Best First'.
Re^3: Filehandler Trouble
by tc1364 (Beadle) on Dec 15, 2004 at 12:40 UTC
    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?

      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.