CIS 2279 Homework Assignment #11
Due Mon Nov 14, 2016
Create a perl script named lab11.pl. The script needs to have the
following features:(5 points each)
- Have the user enter a date (YYYY MM DD)
- Calculate the date/time six days fourteen hours in the future from
the entered date and print it in a human readable format.
- Calculate the date/time 45 days in the past from the entered date
and print it in a human readable format.
- Calculate and display, in minutes, the difference between the entered date
and the present time.
- Prome the user to enter a path and list the size and creation time (in
human readable format) for each file or directory contained in the
requested directory.
- Prompt the user to enter their birth date. With that date,
convert and display their age in days and hours to the terminal.
solution
last updated: 10 Nov 2016 18:34