On Monday, April 1, 2002, at 01:03 , Michael Stearman wrote:
> $x="A"; > foreach $list(@list) { > $cell="$x1"; > $worksheet1->write($cell, $list); > $x++; > } it's a 'scoping' bug - try $cell = "${x}1"; this will generate your A1 .... THANKS!!!! I have been looking for one of those! ciao drieux --- ### #!/usr/bin/perl ### ### $x="A"; ### ### @list=qw/a b c d e f g h/; ### foreach $list (@list) { ### $cell = "${x}1"; ### print "$cell , $list\n"; ### $x++; ### } ### ### -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]