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

Re: Which perl version?

by moxliukas (Curate)
on Jul 21, 2003 at 08:46 UTC ( #276187=note: print w/ replies, xml ) Need Help??


in reply to Which perl version?

perl -v

You can also check $^V variable from perl itself. See perlvar for details


Comment on Re: Which perl version?
Download Code
Re: Which perl version?
by Abigail-II (Bishop) on Jul 21, 2003 at 09:44 UTC
    Yeah, but the value of $^V is weird. I rather prefer $] which holds a human readable value of the version, and which can easily be compared with floating numbers.

    Perlvar suggest the use of $^V over $], because $^V compares so neatly with v-strings. However, it was recently decided (after getting Larry's blessing) that v-strings will die. (And there was much rejoicing).

    Abigail

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-09-18 11:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (111 votes), past polls