CIS 2279 Homework Assignment #04
Due Mon Sep 19, 2016
Create a perl script named username-lab04.pl. The script must perform the following:
- Check that the data file "/mnt/homes/CLASSES/CIS2279/LAB04/logger.csv" exists
before opening it for read. Exit the script if the file cannot be
read.
- If the file exists, then open the data file and an output file.
- Read through the data file using a while loop and check for
any data line where the julian date is 068 and the temperature is
above 32.
- Print to the terminal and an output file any line that
matches the above criteria.
- Close both files.
solution
last updated: 15 Sep 2016 13:37