Help for this page

Select Code to Download


  1. or download this
    sub f3 {
       my $input = @_ ? shift : $_;
       return $input + 1;
    }
    
  2. or download this
    sub f4 (_) {
       my $input = shift;
       return $input + 1;
    }