Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: OO - best way to have protected methods

by radiantmatrix (Parson)
on Aug 17, 2005 at 18:21 UTC ( [id://484506]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Private;
    use strict;
    ...
    SOFTWARE.
    
    =cut
    
  2. or download this
    use Private;
    
    ...
        my $amount = shift;
        $self->balance($self->balance+$amount);
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found