Fergal Daly writes:

> On 12/07/06, Smylers <[EMAIL PROTECTED]> wrote:
> 
> > I have this one-liner as ~/bin/pmv:
> > 
> > #! /bin/sh
> > perl -m$1 -le 'print '$1'->VERSION || die "No VERSION in '$1'\n"'
> 
> These all fail for modules that do interesting things. For example
> Test::NoWarnings performs a Test::Builder test in an END block to make
> sure there were no warnings.

So?  It still seems to work, for the purposes of determining what
version of the module is loaded:

  $ pmv Test::NoWarnings
  0.082

Smylers

Reply via email to