Front page | perl.perl5.porters |
Postings from December 2014
Re: *-couragement of $^V
Thread Previous
|
Thread Next
From:
John Peacock
Date:
December 9, 2014 11:33
Subject:
Re: *-couragement of $^V
Message ID:
5486DDFE.4010408@havurah-software.org
On 12/08/2014 11:27 PM, Father Chrysostomos wrote:
> 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.
>
I'll be over here in the corner feeling stupid now...
John
Thread Previous
|
Thread Next