Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by Corion (Pope)
on Feb 21, 2012 at 13:34 UTC ( #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
Node Status?
node history
Node Type: note [id://955309]
help
Chatterbox?
[marinersk]: :-O
[marinersk]: That seems a bit harsh. A newspaper deletes a picture and you respond by deleting a whole city?
[LanX]: yep
[Corion]: First he deleted Bielefeld, now he threatens to delete Darmstadt!
[marinersk]: LOL
[Corion]: People claim that Bielefeld exists, but that's just a ploy to hide LanX's acts!

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-05-29 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?