in reply to Re: add_chart_ext does not work when compressed
in thread add_chart_ext does not work when compressed

From your stacktrace it looks like the underlying issue is caused by the fact that the Spreadsheet::WriteExcel::Chart::* modules are dynamically loaded via a factory method. This probably means that the Cava code analyser doesn't detect that they are required and doesn't load them in the package.

A solution would probably be to explicitly include them in the your root program using "use":

... use Spreadsheet::WriteExcel; use Spreadsheet::WriteExcel::Chart::External; ...

--
John.

Replies are listed 'Best First'.
Re^3: add_chart_ext does not work when compressed
by samuelalfred (Sexton) on May 11, 2011 at 15:11 UTC
    Thank you, it finally works! I have before tried to force Cava to include these packages by explicitly telling it to do so in its settings but without success. It's firstly now when I included the use commande in my root script that the problem was solved.

    Thanks again for your help!