in reply to Re^2: perl help
in thread perl help

I find this error message highly suspect. You claim that the above is (part of) the code you run, but there is very little chance that the call to ->worksheet() succeeds while the call to ->add_chart fails due to $template not being defined.

Please post a short, self-contained example so that we can replicate your problem.

Replies are listed 'Best First'.
Re^4: perl help
by Anonymous Monk on Dec 11, 2015 at 17:59 UTC
    Thanks for looking into this. I am parsing an existing excel sheet and adding chart to this excel sheet. i am using use Spreadsheet::ParseExcel::SaveParser; to parse. in this parsing mode i am able to add some rows to excel sheet, but adding charts in this parse mode is failing. Not at all able to add/insert chart to existing excel. Please try to add chart to an existing excel sheet using perlscript...