Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by AnomalousMonk (Archbishop)
on Oct 27, 2015 at 13:26 UTC ( [id://1146106]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub string_of {
        my $self = shift;
    ...
        my $self = shift;
        printf "I am a %s \n", $self->string_of;
        }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-25 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found