Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: multiple method calls against the same object, revisited

by Anonymous Monk
on Dec 28, 2004 at 10:55 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://417738]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-03-28 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found