Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-04-25 06:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (449 votes). Check out past polls.