Don't ask to ask, just ask | |
PerlMonks |
Re: Any reason NV is not marked as POK when accessed as string?by dave_the_m (Monsignor) |
on Mar 23, 2017 at 11:56 UTC ( [id://1185618]=note: print w/replies, xml ) | Need Help?? |
Ths stringification of a floating-point number is affected by locale (e.g. '.' verses ',') so the same NV variable could stringify to different strings at different times. Hence the PV value isn't cached.
Dave.
In Section
Seekers of Perl Wisdom
|
|