Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: chaining method calls

by adrianh (Chancellor)
on Jun 12, 2003 at 09:53 UTC ( #265314=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $my_object_variable->foo($x)->bar($y)->ni($z);
    
  2. or download this
    $my_object_variable->foo($x)
    $my_object_variable->bar($y)
    ...
      $_->bar($y);
      $_->ni($z);
    };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://265314]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2015-03-02 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (56 votes), past polls