develooper Front page | perl.perl5.porters | Postings from December 2014

Re: *-couragement of $^V

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
December 8, 2014 20:43
Subject:
Re: *-couragement of $^V
Message ID:
20141208204351.20120.qmail@lists-nntp.develooper.com
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 $].)


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About