in reply to writing with WriteExcel in OO style
Also, the functionality that you are implementing via your writerow() method is already available through the Spreadsheet::WriteExcel write_row() or write() methods if you have version 0.34 or later. ;-)
@array = ('awk', 'gawk', 'mawk'); $array_ref = \@array; $worksheet->write_row(0, 0, $array_ref); # The above example is equivalent to: $worksheet->write(0, 0, $array[0]); $worksheet->write(0, 1, $array[1]); $worksheet->write(0, 2, $array[2]);
--
John.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: writing with WriteExcel in OO style
by axelrose (Scribe) on Mar 26, 2002 at 18:37 UTC | |
by jmcnamara (Monsignor) on Mar 27, 2002 at 09:35 UTC |