Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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


Comment on SOLVED: Odd crash involving Spreadsheet::WriteExcel
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939474]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2014-12-18 03:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls