Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print "num:$num let:$let\n";
    
    __END__
    
  2. or download this
    num:aa let:aa
    
  3. or download this
    Argument "z" isn't numeric in addition (+) at C:\temp\foo.pl line 9.
    
  4. or download this
    C:\temp>perl -le "$a='z';print++$a"
    aa
    
    C:\temp>perl -le "$a='9';print++$a"
    10
    
  5. or download this
    C:\temp>perl -MO=Concise -e "$a='z'" >z
    -e syntax OK
    ...
    < 3        <$> const[PV "z"] s ->4
    ---
    > 3        <$> const[PV "9"] s ->4
    
  6. or download this
    C:\temp>perl -le "$a='foo9';print++$a"
    fop0
    
    C:\temp>perl -le "$a='9bar';print++$a"
    10