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


in reply to Re^2: Delete parse data spreadsheet::parseexcel
in thread Delete parse data spreadsheet::parseexcel

they contain circular references (workbooks reference worksheets and vice versa, etc.), so they don't go away until the end of your program

If that's really the case, please open a bug report.

However the source does use Scalar::Util::weaken, and my very basic testing shows that the objects do get released when I set the reference to the workbook to undef.

Replies are listed 'Best First'.
Re^4: Delete parse data spreadsheet::parseexcel
by runrig (Abbot) on Feb 06, 2013 at 16:00 UTC
    Looks like you're right. This has been fixed since around 2007 in v0.30.