Help for this page

Select Code to Download


  1. or download this
    cat some_file_holding3numbers.txt |  avg_routines.pl (+some way of spe
    +cifying avg3())> avg.txt
    
  2. or download this
    perl -w avg_routines.pl (+some way of specifying avg3()) <some_file_ho
    +lding3numbers.txt >avg.txt
    
  3. or download this
      my $Routine = shift;  #  Get routine name from cmd line
      &{ $Routine };        #  Call named routine