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.
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
th
quot; <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: <[EMAIL PROTECTED]>
> >Subject: DBI-perl help?
> >Date: Mon, 5 Mar 2001 08:09:15 -0500
> >
> >I installed the DBI-perl-bin-0.93 rpm yesterday and am unable to get perl
> >to find it, d
ROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: DBI-perl help?
>Date: Mon, 5 Mar 2001 08:09:15 -0500
>
>I installed the DBI-perl-bin-0.93 rpm yesterday and am unable to get perl
>to find it, despite the fact that it's right on the path that perl claims
>to be searc
I installed the DBI-perl-bin-0.93 rpm yesterday and am unable
to get perl to find it, despite the fact that it's right on the path that perl
claims to be searching. Has anyone gotten it to work? If so, what
did you do and what am I missing?
Thanks,
-r
Hi there Kirk!
I got autorpm-1.4.1-1.noarch.rpm, but if I add FTP_Passive (Yes) to the
beginning of autorpm.conf and then run autorpm I get the message:
ERROR: ftp_passive not expected in Main File on line 13
where line 13 is the line I put FTP_Passive (Yes) on. FWIW
/usr/sbin/autorpm shows
Hi there!
I have AutoRPM 1.3.2 working on our firewall box, but I cannot get it to
work on any of the systems inside the firewall. I figure this is due to the
internal systems needing to do passive ftp - they never get the list of
remote files because regular ftp gives a PORT error which AutoR