Re: handling lists in perl
- Date: Wed, 19 Dec 2018 09:34:44 +0100
- From: deloptes <deloptes@xxxxxxxxx>
- Subject: Re: handling lists in perl
mick crane wrote:
> yes but there is only one 100, only one key can have it.
> I still try to figure out what goes on with the hash pairs
> with a longer list of numbers your example seems to pick up on the
> values somehow.
> I dunno, unless there is something about using $_ in a loop being
> unreliable ?
> I persevere to succeed
this is what you originally posted, so both 6 and 15 match 100 from the list
when key is 6 it compares 100 with each element from the list and matches
100. Same goes for 15.
No idea what you mean!