in reply to Re^2: memory usage Spreadsheet::ParseExcel
in thread memory usage Spreadsheet::ParseExcel
"the referenced object has been blessed into a package, then that package name is returned instead.
Switching from ref to Scalar::Util::reftype() would fix that.
and ::Worksheet warned on deep recursion and never came back up out of the stack
Using Scalar::Util::refaddr() with a %seen hash could prevent it recursing up its own bum.
The code I posted was by way of example. Just a blind tweak of a depth-first recursive structure traversal I had kicking around.
I'd have a go a making the above tweaks if I had a suitable example .xls file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: memory usage Spreadsheet::ParseExcel
by Anonymous Monk on May 15, 2012 at 00:23 UTC | |
by BrowserUk (Patriarch) on May 15, 2012 at 00:47 UTC |