Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Handy wrapper for Spreadsheet::WriteExcel

by Nomad (Pilgrim)
on Feb 23, 2004 at 22:41 UTC ( #331241=note: print w/ replies, xml ) Need Help??


in reply to Handy wrapper for Spreadsheet::WriteExcel

Yes, I've just found this very useful as well! But apart from changing set_format to set_num_format. I was getting an error on close. I found that the workbook had to be explicitly closed. So in Excel.pm put:

sub close { my ($self) = @_; $self->{workbook}->close; }

And then your code should end:

$excel->close;

before exiting.


Comment on Re: Handy wrapper for Spreadsheet::WriteExcel
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2014-09-17 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (72 votes), past polls