Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 studying the Monastery: (11)
As of 2014-09-17 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (88 votes), past polls