Read Arrays are not lists and Scalars, Lists, and Arrays and repeat to yourself three times - "('foo', 'bar', 'baz') is not an array" ;-)
I can't be blamed if you don't read my post. ;-) I didn't say ('foo', 'bar', 'baz') was an array, I said If I ask for a reference to an array that contains ('foo', 'bar', 'baz').
HTH.
In reply to Re: Re: Re: Re: Perl Idioms Explained - ${\$obj->method} and @{[sort @list]}
by bradb
in thread Perl Idioms Explained - ${\$obj->method} and @{[sort @list]}
by broquaint
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |