Front page | perl.perl5.porters |
Postings from December 2014
Re: *-couragement of $^V
Thread Previous
|
Thread Next
From:
Father Chrysostomos
Date:
December 9, 2014 04:27
Subject:
Re: *-couragement of $^V
Message ID:
20141209042735.25122.qmail@lists-nntp.develooper.com
John Peacock wrote:
> FWIW, this works from 5.7.3 onwards (courtesy of the "magic v-string"
> patch):
>
> > $ perl -le 'print ($^V > 5.7.3)'
> > 1
> >
> > $ perl -v
> >
> > This is perl, v5.8.1 built for x86_64-linux
>
> That form doesn't even require version objects. What am I missing?
$ /opt/bin/perl5.8.8 -le 'print ($^V > 5.10.0)'
1
I am surprised that you, of all people, would make the > vs
gt mistake.
Thread Previous
|
Thread Next