Subject: | version() doesn't work for Bundles |
version() doesn't work for Bundles like IO::Compress.
e.g.
perl -e 'use ExtUtils::Installed; my $mod="IO::Compress"; my $inst =
ExtUtils::Installed->new($mod); my $ver = $inst->version($mod) || die
"$!"; print "$ver\n"'
This will die with
No such file or directory at -e line 1.
As it's looking for IO/Compress.pm but can't find it (as the bundle
doesn't install it).
It should do something smarter to get the bundle version rather than
just dying.
--
Save our economy, demand finishing metric conversion from your federal
and state representatives.