I quite often use a hash splice in that context:
my %Goodwords; @Goodwords{@goodWordsList} = (1) x @listOfGoodwords;
TIMTOWTDI and YMMV. ;-)
In reply to Re^2: minimal response program code problem
by GrandFather
in thread minimal response program code problem
by Katy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |