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

Re^4: isn't numeric in substr error

by jmcnamara (Monsignor)
on Nov 19, 2010 at 13:12 UTC ( #872484=note: print w/replies, xml ) Need Help??

in reply to Re^3: isn't numeric in substr error
in thread isn't numeric in substr error

Can't call method "write" on an undefined value at /home/bsmart/excel_workbooks.ipl line 314.

This probably occurs because the worksheet object has already been garbage collected at that point in your program. Try adding an explicit Worksbook close() to synchronise the WriteExcel object destruction.

See the WriteExcel docs on Workbook::close() for more details.


Replies are listed 'Best First'.
Re^5: isn't numeric in substr error
by begood321 (Novice) on Nov 24, 2010 at 20:36 UTC

    Thanks John that could be the case. I have changed code from searching within spreadsheet to check for appriate value in variable, which appears to be easier. For now I'm good. Thanks guys for your help.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2017-02-22 14:20 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (329 votes). Check out past polls.