Also note that the map() in your snippet is returning a list of three items - a 1 and two empty strings.shell> perl -le '%a = qw/1 1 2 2 3 3/; %b = qw/2 2 3 3/; \ print grep !$b{$_}, keys %a' 1
_________
broquaint
In reply to Re: Re: Re: (stephen) Hash Tutorial
by broquaint
in thread Hash Tutorial
by dhammaBum
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |