Front page | perl.perl5.porters |
Postings from December 2014
Re: *-couragement of $^V
Thread Previous
From:
H.Merijn Brand
Date:
December 8, 2014 21:22
Subject:
Re: *-couragement of $^V
Message ID:
20141208222232.5dd54c0a@pc09.procura.nl
On 8 Dec 2014 20:43:51 -0000, Father Chrysostomos <sprout@cpan.org>
wrote:
> Ricardo Signes wrote:
> > I suggest that given the general confusion around v-strings and version
> > objects, as well as the fact that $^V has changed its behavior in the past, it
> > is not actually better than $]. Since $] always works, and always works the
> > same way, we should encourage its use rather than $^V's. We can accomplish
> > that by discouraging the use of $^V, in favor of $], in the docs.
> >
> > Yes?
>
> Well, *I* would say yes, but I thought this was a controversial topic.
>
> In some past versions $] had problems with floating point inaccuracy, but I
> believe that has been fixed. (Ask Zefram for specifics.)
>
> (BTW, I always use $].)
/me too (in perl code)
PERL_BCDVERSION in XS
--
H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/
using perl5.00307 .. 5.21 porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Thread Previous