On Mon, 2002-04-01 at 16:03, Michael Stearman wrote:
> It could be my code.  I am using the variable to write to an Excel file in 
> which I want to increment the cell from A1 to B1 to C1, etc.
> 
> $x="A";
> foreach $list(@list) {
>       $cell="$x1";
>       $worksheet1->write($cell, $list);
>       $x++;
> }
>

How about using

my $col = 0;
$worksheet1->write(0, $col++, $_) for (@list);

 
 
-- 
Today is Sweetmorn the 18th day of Discord in the YOLD 3168


Missile Address: 33:48:3.521N  84:23:34.786W


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to