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