Help for this page

Select Code to Download


  1. or download this
    $s = '20 ducks';;
    Dump $s;;
    ...
      PV = 0x40cad18 "20 ducks"\0
      CUR = 8
      LEN = 16
    
  2. or download this
    $s += 1;;
    Argument "20 ducks" isn't numeric in addition (+) at (eval 13) line 1,
    + <STDIN> line 4.
    ...
      PV = 0x40cad18 "20 ducks"\0
      CUR = 8
      LEN = 16
    
  3. or download this
    print $s;;
    21
    ...
      PV = 0x40d3068 "21"\0
      CUR = 2
      LEN = 40