On Mon, Mar 08, 2010 at 08:00:10AM -0800, Ryan Chan wrote:
> my ($a, $b, $c, $d, $e) = "test";
> 
> How I can assign "test" to all the list items? e.g. $a to $e
> 

my ($a, $b, $c, $d, $e);
$a=$b=$c=$d=$e="test";
Mike
-- 
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to