Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    
    ...
    print "++ gives $index\n";
    $index += 1;
    print "+= gives $index\n";
    
  2. or download this
    ++ gives AI
    Argument "AI" isn't numeric in addition (+) at test.pl line 7.
    += gives 1