[8] Write a program to parse the output of the date command to determine the current day of the week. If the day of the week is a weekday, print get to work; otherwise, print go play. The output of the date command begins with Mon on a Monday. If you don't have a date command on your non-Unix system, make a fake program that prints a string similar to one that date might print. We'll give you this two-line program if you promise not to ask us how it works:
#!/usr/bin/perl
print localtime( ) . "\n";