![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re^2: Run-time equivalent of "use Module VERSION"?by LanX (Sage) |
on Jul 04, 2014 at 13:07 UTC ( #1092295=note: print w/replies, xml ) | Need Help?? |
> VERSION is magic and always there for you: elaborating a bit from perlobj#VERSION($need) :) UNIVERSAL::VERSION() is like ->can() a "universal"¹ method and ...
This method is called automatically by the "VERSION" form of "use".
Cheers Rolf (addicted to the Perl Programming Language) ¹) All classes automatically inherit from the UNIVERSAL class, which is built-in to the Perl core.
In Section
Seekers of Perl Wisdom
|
|