Hello All, I have a question, I am looking to read the name of the file that I am passing as an argument to the perl script through the while (<>) part of the script.
Example: perl script.pl 1.txt 2.txt 3.txt Each file has information that I am parsing to put into a report but I need to get the name of the file that I parsed and print that information as well, so that way I know what values I am getting from each file associates with what file. So the output would look like 1.txt (parsed information) 2.txt (parsed information) 3.txt (parsed information) Any assistance would be great. Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>