At the top of your script, add
$filename = $ARGV[0]
- or -
$filename = shift;
[EMAIL PROTECTED] wrote:
> I really don't know perl, but have a good script for analyzing some of the
> logs on my squid server. Anyway, I have a real simple need. Instead of
> semi hardcoding the file name to ana
On Wed, 2002-08-28 at 13:17, [EMAIL PROTECTED] wrote:
> I really don't know perl, but have a good script for analyzing some of the
> logs on my squid server. Anyway, I have a real simple need. Instead of
> semi hardcoding the file name to analyze, I would like to pass it to the
> perl script.