--- Smylers <[EMAIL PROTECTED]> wrote:
> Luke Palmer writes:
> 
> >     for @(@ranges[1]) -> $i {
> 
> Oooh, where did that dereferencing syntax come from, using parens rather
> than braces?

@(...) is the "list context" operator in S3. I hope array references won't
explode in list context, that would be very annoying when making
multi-dimentional arrays:

@foo = ([1, 2], [3, 4])       # oops, would be (1, 2, 3, 4)
@foo = ($([1, 2]), $([3, 4])) # ugh :(

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

Reply via email to