Help for this page

Select Code to Download


  1. or download this
    sub foo {
      my $retval = 0;
      <... lots of code here ...>
      return $retval; # This is the only return in the sub
    }
    
  2. or download this
    ...
    my $whatever = some_sub();
    
  3. or download this
    my $var1;
    my $var2;
    ...
    my @list;
    my %hash;
    ...