develooper Front page | perl.perl5.porters | Postings from September 2011

Re: [ #70622] Versions Disappear

David Golden
September 8, 2011 06:14
Re: [ #70622] Versions Disappear
Message ID:
On Thu, Sep 8, 2011 at 8:03 AM, Zefram <> wrote:
> Can we please stop stepping on each other's toes in the global namespace?
> I'd like to see Module::*mumble*::loaded_version_of_package_as_object()
> and Module::*mumble*::loaded_version_of_package_as_string().  There's no
> need for either of them to be a method and thus occupy a very public and
> contested space.  I'd also like to see a check_loaded_version_of_package()
> function that doesn't get led astray by those naughty modules that use
> ->VERSION as an ersatz ->import.


I wouldn't mind seeing it part of Class::Load (though it would add as a requirement), since usually the case for it is "try
loading this module, then find out what version it claims to be and do
something specific based on the response".

-- David Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About