in reply to File Handles Chapter(not homework)
To read a file line by line, you typically use
If this construct is missing in your textbook, somebody probably tore some pages from the book.while (my $line = <>) { # do something with the line }
If you meant "preceded" by "proceded", you might use $ARGV: look it up in perlvar.
In Section
Seekers of Perl Wisdom