in reply to Need some wisdom on strings to numbers

It seems that perl actually always store numbers in string representation. Is that right? Waiting for answers...
  • Comment on Re: Need some wisdom on strings to numbers

Replies are listed 'Best First'.
Re^2: Need some wisdom on strings to numbers
by ikegami (Patriarch) on Oct 07, 2009 at 04:10 UTC
    No
    use Devel::Peek; $_=123; Dump $_; # IOK ''.$_; Dump $_; # IOK+POK $_.=''; Dump $_; # POK 0+$_; Dump $_; # IOK+POK $_+=0; Dump $_; # IOK