http://www.perlmonks.org?node_id=971997


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 ."