Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
hi i have a text file with comma a delimiter. i have extracted the data. But i need to write the data to a excel file, using loop. If i give numbers for the cell, the code works. If i use a variable like $s_counter, it throws an error. Followin is the code.
until ($s_counter == $permanent_counter) { $Sheet->Cells(1,1)->{Value} = "somevalue"; $s_counter=$s_counter+1; }
If i use
$Sheet->Cells($s_counter,1)->{Value} = "somevalue";
instead of
$Sheet->Cells(1,1)->{Value} = "somevalue";
it does not work. can someone help me
20060216 Janitored by Corion: Moved from Perl Monks Discussion to Seekers of Perl Wisdom, added formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: unable to use interpolation in for loop for writing in excel
by Corion (Patriarch) on Feb 16, 2006 at 08:16 UTC | |
|
Re: unable to use interpolation in for loop for writing in excel
by Anonymous Monk on Feb 16, 2006 at 08:12 UTC |