Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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

by bradb (Sexton)
on Aug 25, 2003 at 00:42 UTC ( #286282=note: print w/replies, xml ) Need Help??

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

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').


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

Replies are listed 'Best First'.
Re^5: Perl Idioms Explained - ${\$obj->method} and @{[sort @list]}
by adrianh (Chancellor) on Aug 25, 2003 at 23:58 UTC

    My bad ;-)

    However, I think the point about the non-obvious behaviour of the \ operator still stands.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://286282]
[chacham]: i sent him a private message expressing my displeasure.
[1nickt]: chacham It was worse than 2-1 ! almost 4-1 !
[jdporter]: Dang. No good example of how to use IPC::Run's run() in its simplest mode?
[LanX]: him or her! ;)
[1nickt]: jdporter Maybe try IPC::Run3
[LanX]: Sandy Koufax is indeed rude. .. oO

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (15)
As of 2017-05-24 20:54 GMT
Find Nodes?
    Voting Booth?