Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: multiple method calls against the same object, revisited

by Anonymous Monk
on Dec 28, 2004 at 10:55 UTC ( #417738=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub accessor {
        my $self = shift;
    ...
        }
        return $$self{key}; # Gets the attribute.
    }
    
  2. or download this
    my $obj->key1(value1)
           ->key2(value2)
           ->key3(value3);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-07-10 00:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (197 votes), past polls