strict won't have a problem with bareword hash keys unless they have spaces
and maybe some special characters.  If your hash keys are always single
words strict won't complain.

Rob

-----Original Message-----
From: Shawn [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 11:45 AM
To: Bob Showalter; 'John W. Krahn'; [EMAIL PROTECTED]
Subject: Re: resetting foreach loops and @lists



> > -----Original Message-----
> > From: John W. Krahn [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, December 20, 2001 6:10 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: resetting foreach loops and @lists
> > 
> > 
> > James Lum wrote:
> > ...
> > >      last if ($hash{city} eq $hash2{city});
> >                       ^^^^            ^^^^
> > Bare words as hash keys.
> 
> And that's a problem how?

It's a big problem when using 'strict'...

Shawn

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to