Answer for Ch. 5, Ex 9 of Learning Perl Student Workbook
Answer for Ch. 5, Ex 9 of Learning Perl Student Workbook

Write a program that takes a filename from the command line.  If the file
exists, open the file and print the first line.  If you can’t open the
file, use die to report the reason.

Basically a rehash of the previous exercises. Good for driving the point
home.

/rs.

ruddystream/Learning-Perl,ruddystream/Learning-Perl