Help for this page

Select Code to Download


  1. or download this
    sub f {
       my ($arg1, $arg2) = @_;
       ...
    }
    
  2. or download this
    sub f {
       my $arg1 = shift;
       my $arg2 = shift;
       ...
    }
    
  3. or download this
    for (my $i=1; $i<=100; $i+=2) {    # 1, 3, 5, ..., 99