1 #! /usr/bin/perl -w 2 3 my @test_files = glob "*.txt"; 4 5 foreach (@test_files) { 6 print "Starting processing of file, $_.\n"; 7 open TEST_FILE, "< $_" or die "Couldn't open test file, '${_}', for reading: ($!)"; 8 9 while () { 10 print; 11 } 12 13 print "Ending processing of file, $_.\n"; 14 }