in reply to Any reason NV is not marked as POK when accessed as string?
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Any reason NV is not marked as POK when accessed as string?
by demerphq (Chancellor) on Mar 23, 2017 at 19:12 UTC | |
by syphilis (Archbishop) on Mar 23, 2017 at 23:16 UTC | |
by demerphq (Chancellor) on Mar 23, 2017 at 23:23 UTC | |
Re^2: Any reason NV is not marked as POK when accessed as string?
by vr (Curate) on Mar 23, 2017 at 13:03 UTC |
In Section
Seekers of Perl Wisdom