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 analyze, I would like to pass it to the 
> perl script.  Would someone please be kind enough to explain how to do 
> this?
> 
> Thanks
> 
> 
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to