Help for this page

Select Code to Download


  1. or download this
    my $i;
    
    ...
    
    $i = 0;
    print "\nPre-increment: ", ++$i, "\nNow equals: ", $i, "\n";
    
  2. or download this
    Post-increment: 0
    Now Equals: 1
    
    Pre-increment: 1
    Now Equals: 1