> perldoc -q "What is the difference between a list and an array"

As a side note to the POD above - although lists can not change sizes 
they are addressable just like arrays. In other words the following two 
statements are equivalent:

my @slice =  @{ [ (split /\|/, 'a|b|c|d|e') ] }[1,3];

my @slice = (split /\|/, 'a|b|c|d|e')[1,3];


Peter

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