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

Re: *-couragement of $^V

Thread Previous | Thread Next
Father Chrysostomos
December 8, 2014 20:43
Re: *-couragement of $^V
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About