Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Find perl module version from command-line

by jmcnamara (Monsignor)
on May 01, 2001 at 16:20 UTC ( [id://76927] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        perl -le 'eval "require $ARGV[0]" and print ${"$ARGV[0]::VERSION"}
    +' Module
    
  2. or download this
        perl -le 'eval "require $ARGV[0]" and print $ARGV[0]->VERSION' Mod
    +ule