Perl does not enforce private and public parts of its modules as you may have been used to in other languages like
C++, Ada, or Modula-17. Perl doesn't have an infatuation
with enforced privacy. It would prefer that you stayed
out of its living room because you weren't invited, not
because it has a shotgun.
I like the shotgun quote. I fully support it. That's why I hate Perl's OO system. Do you remember where the shotgun quote is? It's not in the manual about objects - it's in the manual about modules. Modules all have their own namespaces - the living rooms. With objects however, this is different. A superclass might not invite the subclass in its living room, but it's as much the living room of the subclass as it is the superclass'
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.