Hi,
   I have a list ,
$list=['orange','red','purple'];

How do I access each member of $list ? If this had been @list I cud have 
done,

foreach(@list) {
 print $_;
}

How does it work for a scalar ?

Thanks,
Mandar


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to