Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: How to get cell format of xls

by moritz (Cardinal)
on May 23, 2012 at 09:49 UTC ( #971997=note: print w/ replies, xml ) Need Help??


in reply to Re: How to get cell format of xls
in thread How to get cell format of xls

Use an if statement to only call ->value() if the return value from get_cell is defined. See also: perlintro.


Comment on Re^2: How to get cell format of xls
Download Code
Re^3: How to get cell format of xls
by bimleshsharma (Beadle) on May 23, 2012 at 10:06 UTC
    Ok, i used below but getting error...
    if(undef $worksheet->get_cell($row,$col)){ next; }
    error now i am getting:"Can't modify non-lvalue subroutine call at ."

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-11-23 22:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls