Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

SOLVED: Odd crash involving Spreadsheet::WriteExcel

by blue_cowdawg (Monsignor)
on Nov 22, 2011 at 15:23 UTC ( #939474=note: print w/replies, xml ) Need Help??


in reply to Odd crash involving Spreadsheet::WriteExcel

After using Devel::SimpleTrace I discovered that the messages I was seeing were misleading. The issue was actually happening during the automatic close of the workbook object as the script was exiting.

After I added

$workbook->close();
prior to the steps I take to email the spreadsheet that is created the errors went away.

Much thanks to Corion and jmcnamara for the assist.


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939474]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2017-02-27 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (376 votes). Check out past polls.