|Don't ask to ask, just ask|
Re: Perl Inheritance & module variablesby gone2015 (Deacon)
|on Sep 18, 2008 at 16:30 UTC||Need Help??|
So, you have a module called Foo::Bar and objects of the class Foo::Bar, and you want to find the version of the module associated with the object, yes ? For example, while doing some superclass stuff ?
Which would be something along the lines:
and somewhere you have:
and somewhere else you want to find the $VERSION associated with $obj ?
Suppose you had Foo/Bar.pm:
which may have been what you had in mind.
It may also be what kyle just recommended NOT to do ?