P is for Practical | |
PerlMonks |
Re: Basic Class questionby sundialsvc4 (Abbot) |
on Aug 21, 2013 at 15:08 UTC ( [id://1050366]=note: print w/replies, xml ) | Need Help?? |
In some ways, OOP was “grafted onto” Perl, particularly by means of the verb, bless, which sets a “blessed” flag and associates the object with a “class (equals package ...) name,” so that when you use the method-call (->) syntax, Perl knows what to do. Most other programming languages “hide” the mechanics of “how OOP actually works” far more thoroughly than Perl does, and if you cut your teeth in one of those camps it will seem quite strange. Yet, this is by design.
In Section
Seekers of Perl Wisdom
|
|