Keep It Simple, Stupid | |
PerlMonks |
Re^4: Static method vs virtual methodby choroba (Cardinal) |
on Oct 14, 2016 at 08:28 UTC ( [id://1173993]=note: print w/replies, xml ) | Need Help?? |
No. Static doesn't mean "ignoring the first argument", it means "expecting the class name as the first argument". Moreover, in Perl, you can create methods that are both static and virtual (the question is why).
In Section
Seekers of Perl Wisdom
|
|