develooper Front page | perl.perl5.porters | Postings from April 2012

[perl #28538] Math::BigInt doesn't grok "0 but true"

Thread Next
From:
Father Chrysostomos via RT
Date:
April 29, 2012 11:01
Subject:
[perl #28538] Math::BigInt doesn't grok "0 but true"
Message ID:
rt-3.6.HEAD-4610-1335722484-1599.28538-15-0@perl.org
On Sun Apr 29 10:13:39 2012, Hugmeir wrote:
> (Tangentially related, Data::Dumper still doesn't understand dualvars.
> Nowadays, I imagine that to detect one of those you could use B to get
> the flags, and check if it's both p?POK and p?[IN]OK)

But that alone would bring up many false positives.

I wouldn’t consider $x a dualvar after ‘$x = "3.0"; 0+$x’.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=28538

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