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

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
Replies are listed 'Best First'.
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).


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2015-10-09 21:56 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (252 votes), past polls