Help for this page

Select Code to Download


  1. or download this
    $string='7';
    $num=$string+0
    
  2. or download this
    C:\>perl -MO=Concise,-exec -e"$string='7';$num=$string+0"
    1  <0> enter
    ...
    a  <#> gvsv[*num] s
    b  <2> sassign vKS/2
    c  <@> leave[1 ref] vKP/REFC
    
  3. or download this
     $string='7';
     $num=int($string)"
    
  4. or download this
    C:\>perl -MO=Concise,-exec -e"$string='7';$num=int($string)"
    1  <0> enter
    ...
    a  <2> sassign vKS/2
    b  <@> leave[1 ref] vKP/REFC
    -e syntax OK
    
  5. or download this
    8  <$> const[IV 0] s
    9  <2> add[t4] sK/2
    
  6. or download this
    8  <1> int[t4] sK/1