Help for this page

Select Code to Download


  1. or download this
    # `my ( ... ) = ...` evaluates the RHS in list context.
    my ( $increment ) = @_;
    
  2. or download this
    # `shift` is short for `shift( @_ )`
    my $increment = shift;
    
  3. or download this
    print $result;
    
  4. or download this
    print "$result\n";
    
  5. or download this
    say $result;
    
  6. or download this
    $result += $increment;
    
  7. or download this
    $result = $result + $increment;