Does Perl's OO have "private method" like Python and other OO languages? When we say "sub foo { }" in a package 'bar',Perl will insert the "foo" into this package's symbol table,so we can access foo() from anywhere out of the package bar,via the form of "bar::foo()". So I don't think Perl has its private method.Or we can make a private method by declaring an anonymous subroutine of "sub { }".Am I right?
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/