Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: OOP's setter/getter methods - is there a way to avoid them?

by Athanasius (Archbishop)
on Oct 27, 2015 at 12:56 UTC ( [id://1146101]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $obj->{color} = 'blue';
    print Dumper($obj);
    
  2. or download this
    22:39 >perl 1424_SoPW.pl
    $VAR1 = bless( {
    ...
                   }, 'Fruit' );
    
    22:40 >
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-16 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found