Help for this page

Select Code to Download


  1. or download this
    sub ratio_change {...}
    my @args = ($start_value, $start_total, $new_value, $new_total);
    ratio_change @args;   # Same result as:
    ratio_change $start_value, $start_total, $new_value, $new_total;
    
  2. or download this
    sub ratio_change ($$$$) {...}
    my @args = ($start_value, $start_total, $new_value, $new_total);
    ratio_change @args;   # Eeks. Won't do what you think it does.
    ratio_change $start_value, $start_total, $new_value, $new_total;
    
  3. or download this
    sub foo ();
    sub foo ($);
    sub foo (&@);
    sub foo (\@@);
    sub foo (\%@);