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 exploiting the Monastery: (4)
As of 2016-10-01 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.