Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 scrutinizing the Monastery: (11)
As of 2015-07-06 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls