Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 browsing the Monastery: (3)
As of 2024-04-24 21:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found