Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Find perl module version from command-line

by Corion (Patriarch)
on Feb 21, 2012 at 13:34 UTC ( [id://955309]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Find perl module version from command-line
in thread Find perl module version from command-line

How about ack '^\s*\$VERSION'? See App::ack.

Also, instead of using Excel, you might want to use sort and diff to find the differences between the machines.

Replies are listed 'Best First'.
Re^6: Find perl module version from command-line
by educated_foo (Vicar) on Feb 21, 2012 at 17:08 UTC
    Or just
    grep 'VERSION' $(find . -name \*.pm -type f)
    which uses standard Unix tools.
Re^6: Find perl module version from command-line
by geelsu (Initiate) on Feb 21, 2012 at 14:42 UTC

    Thanks. I will try and see if I can get that. App::Ack is not in my current PERL install. All I have in App is something called Prove. We have this weird convoluted process to get files from the Internet to the private systems.

      App:Prove is part of the Test-Harness suite. Test::Harness itself has been bundled with Perl since Perl 5.0 (i.e. almost 20 years), but the App::Prove module is a later addition (since Perl 5.10.1).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://955309]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-19 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found