in reply to @ generating Excel Attachment using Perl
gives an error like "Can't call method "add_worksheet" on an undefined value
"If the file cannot be created, due to file permissions or some other reason, new will return undef. Therefore, it is good practice to check the return value of new before proceeding. As usual the Perl variable $! will be set if there is a file creation error."
(from TFM — emphasis added)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: @ generating Excel Attachment using Perl
by siddheshsawant (Sexton) on Jun 08, 2010 at 14:54 UTC | |
by marto (Cardinal) on Jun 08, 2010 at 15:00 UTC |