> Observe, ye doubter:
>
> $ perl -le '@vars = qw(one two three two); @h{@vars} - (); print
> "Duplicate in (@vars)" unless keys %h == @vars; @vars = qw(one two three
> four);
> @hh{@vars} = (); print "Duplicate" unless keys %hh == @vars'
> Duplicate in (one two three two)
> $
>
> Because.. what do we know about hash keys? They must be... *prompt* *prompt*
Ah-ha! I stand corrected (and informed).
Thank you, oh wise one.
-T
- Matching strings twelveoaks
- Re: Matching strings Peter Scott
- Re: Matching strings twelveoaks
- Re: Matching strings Peter Scott
- Re: Matching strings twelveoaks
- Re: Matching strings Hasanuddin Tamir
- Re: Matching strings Martin van-Eerde
- RE: Matching strings Wagner-David
- Re: Matching strings Martin van-Eerde
- Re: Matching strings Paul
- Matching strings Sofia
- Re: Matching strings Lynn Glessner
- Re: Matching strings Brent Michalski
- RE: Matching strings Wagner-David
- RE: Matching strings Sofia
