The file name that is currently being processed is then stored in $ARGV, which should solve your second problem.
In reply to Re: Log parsing question
by moritz
in thread Log parsing question
by thelamb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |