Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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

by Juerd (Abbot)
on Aug 21, 2003 at 16:31 UTC ( #285513=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    "method result   - ${ \$obj->method }\n";
    "method result   - " . $obj->method . "\n";
  2. or download this
    "foo @{[ some_list() ]}.";
    "foo ${\ join ' ', some_list() }";
    "foo " . join ' ', some_list();
  3. or download this
    printf "method result  - %s\n", $obj->method;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://285513]
[Eily]: LanX can't be, they're both on the picture at the same time. Duh
[LanX]: They hired a Hollywood producer to fake the pic
LanX has to go and change location, I can hear THEM on the stairs...
[Eily]: they can't actually fake the pics, that's what they want you to believe so that you can't accept obvious proofs

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2018-03-19 15:36 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (241 votes). Check out past polls.