in reply to
Re: Delete parse data spreadsheet::parseexcel
in thread Delete parse data spreadsheet::parseexcel
simply stop keep a reference to the parser object. Then the memory allocated for that object is freed.
No, not for Spreadsheet::ParseExcel objects...they contain circular references (workbooks reference worksheets and vice versa, etc.), so they don't go away until the end of your program. Best thing to do is to parse each spreadsheet in a separate process (using Parallel::ForkManager or just plain fork or just launch a separate system command or something).