sundialsvc4:
perldoc package deserves careful and frequent re-reading, because the way that Perl handles this declaration is probably not what you would intuitively expect from your experience with other programming languages. Also, follow the “packages in perlmod” link at the bottom of that perldoc page, and read both pages very carefully.
Careful reading?
$ perldoc package No documentation found for "package".
Hmm, perl isn't the only programming language with a "package" keyword, but all the other languages that have it use it differently from one another
Programmers don't guess that syntax in one language works identically in another , this is sundialsvc4ism/nonsense
In reply to Re^2: Why to wrap Perl classes inside a Perl script into blocks
by Anonymous Monk
in thread Why to wrap Perl classes inside a Perl script into blocks
by capfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |