On Thu, Jun 15, 2017 at 3:55 AM, demerphq <demerphq@gmail.com> wrote: > On 9 June 2017 at 11:17, Graham Knop <haarg@haarg.org> wrote: >> The result of ($var ^ "") can tell you the >> status of the internal flags for a if value is a valid number, which >> is needed for serialization. > > You mean it can tell you if something is a number that has never been > stringified right? > > Can you explain this one a bit more? $number & "" -> 0 $string & "" -> "" The flags being checked are SVp_IOK or SVp_NOK. A number that has been stringified will still register as a number based on this check. > > Yves > > -- > perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous | Thread Next