in reply to Re^4: Don't treat your numbers as strings, or Interpolation is worse than you might think
in thread Don't treat your numbers as strings, or Interpolation is worse than you might think
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Don't treat your numbers as strings, or Interpolation is worse than you might think
by Ieronim (Friar) on Jul 23, 2006 at 16:43 UTC |