Help for this page

Select Code to Download


  1. or download this
    sub mysub
    {
       $foo ++;
       some_other_sub($bar);
    }
    
  2. or download this
    sub mysub
    {
       my ($foo, $bar) = @_;
       #do stuff with $foo and $bar
    }
    
  3. or download this
    sub mysub
    {
       my ($foo, $bar) = @ARGV;
       #do stuff with $foo and $bar
    }