If you want even less, work the module Set::CrossProduct does exactly what you want, wrapped in a neat iterator.
Another option is to the built-in function glob:
$ perl -wle 'print for glob "{1,2}{3,4,5}{6,7}"' 136 137 146 147 156 157 236 237 246 247 256 257
In reply to Re: Populating Hash of hashes
by moritz
in thread Populating Hash of hashes
by zeni
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |