Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Spreadsheet::WriteExcel - writes the header but no subsequent rows

by aging acolyte (Pilgrim)
on Nov 22, 2002 at 15:03 UTC ( [id://215111] : note . print w/replies, xml ) Need Help??


in reply to Spreadsheet::WriteExcel - writes the header but no subsequent rows

Princepawn,

I can't be too sure but it sounds like you may be flattening an array when passing it into a sub routine i.e instead of passing an array by reference you are actaually passing it as the array and so the sub routine reads only the first few values.

From a quick look thru it looks like $header is a suitable candidate. Although as you use the same variable name in a few places it is not so easy to tell.

Hope that helps.

AA

  • Comment on Re: Spreadsheet::WriteExcel - writes the header but no subsequent rows