Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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.


Comment on Re^5: Find perl module version from command-line
Download Code
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).

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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-07-31 02:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (244 votes), past polls