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 imbibing at the Monastery: (18)
As of 2014-09-22 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls