Why does it reverse it to an IV.It doesn't - it just clears the pPOK flag:
perl -MDevel::Peek -e '$x = 3; "$x"; $x += 0; print Dump $x' SV = PVIV(0x814e998) at 0x814d4ac REFCNT = 1 FLAGS = (IOK,pIOK) IV = 3 PV = 0x8162f50 "3"\0 CUR = 1 LEN = 4
In reply to Re^5: Don't treat your numbers as strings, or Interpolation is worse than you might think
by Joost
in thread Don't treat your numbers as strings, or Interpolation is worse than you might think
by Ieronim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |