On 3/3/07, Jeff Pang <[EMAIL PROTECTED]> wrote:
Does Perl's OO have "private method" like Python and other OO languages?
snip

Perl does not have such a construct; however, by convention any
function, variable, or hash key that begins with an underscore, '_',
is considered to be private.  It is also possible to hide variables
and functions inside of a closure.  See Damian Conway's "Object
Oriented Perl" for more information.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to