[JaxPM] syslog analyzing
Nate
nate at campin.net
Fri Apr 7 10:17:01 CDT 2000
On the jacksonville-pm-list; Jax.PM'er Nate <nate at campin.net> wrote -
Bill,
I'll have to look at your log anayler.
Perhaps you and the list can tell me how to fix this piece of my script:
foreach $hash (%postfix, %mars, %jupiter, %szebra, %wwwsaigon,
%sol, %mercury, %zeus ) {
while(($key, $val)=(each $hash )){
$val =~ s/^, //;
chomp $key;
print "$val $key \n";
}
}
this gives me:
$ perl -c test-sort.pl
Type of arg 1 to each must be hash (not scalar deref) at test-sort.pl line
140, near "$hash )"
test-sort.pl had compilation errors.
How do I iterate over this list of hashes?
--
Nate Campi nate at campin.net
my infosec favorites: www.campin.net
On Fri, 7 Apr 2000, Bill Jones wrote:
> Date: Fri, 07 Apr 2000 18:54:07 -0400
> From: Bill Jones <bill at fccj.org>
> To: Jax Perl Mongers <jacksonville-pm-list at happyfunball.pm.org>
> Subject: Re: [JaxPM] syslog analyzing
>
> On the jacksonville-pm-list; Jax.PM'er Bill Jones <bill at fccj.org> wrote -
>
> Did anyone see my log analyzer at CPAN?
>
> See -
>
> http://www.perl.com/CPAN-local/authors/id/S/SN/SNEEX/
>
> -Sneex- :]
> - FCCJ * 501 W State St * Jacksonville, Fl 32202 * 904/632-3089 -
>
>
>
> Jax.PM Moderator's Note:
> This message was posted to the Jacksonville Perl Monger's Group listserv.
> The group manager can be reached at -- owner-jacksonville-pm-list at pm.org
> to whom send all praises, complaints, or comments...
>
>
Jax.PM Moderator's Note:
This message was posted to the Jacksonville Perl Monger's Group listserv.
The group manager can be reached at -- owner-jacksonville-pm-list at pm.org
to whom send all praises, complaints, or comments...
More information about the Jacksonville-pm
mailing list