It doesn't work. You were just lucky. :-) Try:
my %items = qw(horse 1 donkey 1); .. Prints: dog cat cow horse chicke
--
John.
In reply to Re: (cLive ;-) Re: Reducing array
by jmcnamara
in thread Reducing array
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |