It's very important to understand
how Perl implemented its "object-oriented" features – what
bless actually does, what the "arrow" operator does in various contexts, and so on. Perl-5 is a language that
evolved over a long period of time to become what it now is, and it did so without losing backward compatibility with itself.
(Perl-6 is not, but Perl-6 never went anywhere and never will.) The Perl Gods never went back into the compiler and added a bunch of new syntax diagrams. If you compare it to "object-oriented" languages that were designed from the ground up to be that way, you'll find that it is not a very close comparison at all. "Object-oriented
Perl" really is a very different thing.
Moose is implemented in classic Perl – it is not a compiler feature – and can be switched-on
use Moose and switched-off
no Moose in mid-flight.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.