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

Re: Re: Private Class Methods

by RMGir (Prior)
on Apr 06, 2002 at 14:27 UTC ( [id://157154]=note: print w/replies, xml ) Need Help??


in reply to Re: Private Class Methods
in thread Private Class Methods

++ on #1.

But #2 will fail on "indirect" private calls, i.e. where class A implements

sub public_method { # do something $self->_my_private_method(); # do something else }
and then public_method is invoked on a derived object. Bad bad.
--
Mike

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-26 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found