I think that only applies to a list slice, i.e. (split /\s+,$_)[3..9],
but an array slice doesn't need it, i.e. @array[2]

-----Original Message-----
From: Paul Kraus [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 26, 2004 9:38 AM
To: [EMAIL PROTECTED]
Cc: 'Perl Beginners'
Subject: RE: hash of hash of array slices


This worked fine. However I was under the impression that any time you
worked with a slice that you had to surround the array in parenthesis.

When else does this not apply?



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