Calculating Sales
Create a perl script named calcSales that reads an input filespecifying sales figures and
outputs a tabulation of these figures.
Each line of the input file will be a string of the form name+ orname+sales. The name will not
contain any ‘+’ characters. The sales, if present, will be aninteger or floating point number (i.e.,
there may or may not be a decimal point). The name of the inputfile will be specified on the
command line. So, execution of this program might look likethis:
perl calcSales.pl salesFigures.txt
The output will consist of a list of names and sales figures,sorted alphabetically by name, that
remain after the following
PayPal Gateway not configured
PayPal Gateway not configured