Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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.

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-08-21 03:19 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (317 votes). Check out past polls.