[JaxPM] syslog analyzing
j proctor
jproctor at oit.umass.edu
Sat Apr 8 08:10:07 CDT 2000
On the jacksonville-pm-list; Jax.PM'er j proctor <jproctor at oit.umass.edu> wrote -
> foreach $hash (%postfix, %mars, %jupiter, %szebra, %wwwsaigon,
> %sol, %mercury, %zeus ) {
> while(($key, $val)=(each $hash )){
>
[...]
>
> Type of arg 1 to each must be hash (not scalar deref) at test-sort.pl line
> 140, near "$hash )"
P.S. When quoting code and error messages that have line numbers, it's
often useful to actually put the line number in, too, so we don't get
confused about *which* $hash (for instance) is causing the problem. :)
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