On May 18, 2004, at 1:10 PM, Perl Mail User wrote:
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.
You're looking for the $ARGV variable. It contains the filename you need.
Hope that helps.
James
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>