XP is just a number | |
PerlMonks |
$what->Does::This::mean( $anyway )by maard (Pilgrim) |
on Mar 15, 2012 at 06:17 UTC ( [id://959725]=perlquestion: print w/replies, xml ) | Need Help?? |
maard has asked for the wisdom of the Perl Monks concerning the following question: Dear monks, today i run into code which made me muse about diversity of this life. $object->Some:Class::method(@args); What does this mean and why would someone need to do such call? Looks like this is the same as Some::Class::method($object, @args), but with respect to inheritance. Another thing came to mind is $self->SUPER::new, which i always understood as "Call the new method of the superclass of $self's class". Is the SUPER some kind of magic (any relation to UNIVERSAL? e.g. each class in addition to isa and can has SUPER?) Please point me to docs.
Back to
Seekers of Perl Wisdom
|
|