Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^3: parsing excel with 5 levels of indentations

by Happy-the-monk (Abbot)
on Oct 03, 2013 at 09:29 UTC ( #1056739=note: print w/replies, xml ) Need Help??

in reply to Re^2: parsing excel with 5 levels of indentations
in thread parsing excel with 5 levels of indentations

my $cell = $worksheet->get_cell( $row, $col );


and here i need to put indent somewhere somehow

I haven't tried any of this, but continuing with the documentation of Spreadsheet::ParseExcel::Cell you should be able to test what my $format = $cell->get_format(); print $format->{Indent}, "\n"; is returning and build on that information.

Cheers, Sören

Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)

Replies are listed 'Best First'.
Re^4: parsing excel with 5 levels of indentations
by leha (Novice) on Oct 03, 2013 at 11:09 UTC
    yes, McNamara gave me the same solution
    and it works

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056739]
[karlgoethebier]: shmem: something went wrong today?
[shmem]: karlgoethebier: of course
[shmem]: has there been any single day where nothing went wrong? not in my memory
[shmem]: discovered a fuel tank leakage at my second hand motorbike. Some bloke drove a screw too long through the fairing

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2017-06-25 19:54 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (569 votes). Check out past polls.