Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Perl Version & Installed Directory Path

by Hugmeir (Sexton)
on Nov 08, 2010 at 20:38 UTC ( #870189=note: print w/ replies, xml ) Need Help??


in reply to Perl Version & Installed Directory Path

While I can't vouch for its portability, this worked for me on WinXP's cmd.exe.. And, like the OP kind of asked, it's done using Perl :)

perl -E "say 'Path: ', $^X; say 'Version: ', $^V"


Comment on Re: Perl Version & Installed Directory Path
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2014-12-26 22:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls