Hi Mark,
> >
> 
> Edward, for a beginner, would you mind explaining what the
 >(1 ..  $#arr) 

$#arr is the index of the last element in the array

> and qw actually do in this code.? Cheers

with "qw" you are treating values inside as individual words
automatically. Thus you don't need to put quote among the element
like @arr = ('a','b','c');

http://perldoc.perl.org/functions/qw.html


Hope it's clear for you :-)

Regards,
Edward WIJAYA
SINGAPORE


-- 
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