http://www.perlmonks.org?node_id=286161


in reply to Re: Re: Perl Idioms Explained - ${\$obj->method} and @{[sort @list]}
in thread Perl Idioms Explained - ${\$obj->method} and @{[sort @list]}

That doesn't explain it. \('foo', 'bar', 'baz') is the same as (\'foo', \'bar', \'baz'). Taking a reference to an array certainly doesn't behave that way.

Makeshifts last the longest.

  • Comment on Re^3: Perl Idioms Explained - ${\$obj->method} and @{[sort @list]}