Help for this page

Select Code to Download


  1. or download this
    ($name, $p) = extract_name($response, $p) ; .... sub extract_name { my
    + ($response, $p) = @_ ; my $extracted ... .... return ($extracted, $p
    +) ; } ;
    
  2. or download this
    sub extract_name { my ($response, $p) = @_ ; 
    my $extracted ... .... $_[1] = $p ; 
    # $_[1] is implicitly a reference to the 2nd +actual argument return $
    +extracted ;
     } ;