in reply to version reporting beyond print "$]\n";
`perl -we 'print $], $/;'` returns 5.008004. However this value does not imply v5.008004; rather v5.8.4 as explained in perlvar. Similarly, 5.006001 is not v5.006001 but rather v5.6.1.
UPDATE: Or if you'd rather use $^V:
print join '.', map { ord $_ } split(//, $^V);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: version reporting beyond print "$]\n";
by manav (Scribe) on May 09, 2005 at 04:49 UTC |