|Pathologically Eclectic Rubbish Lister|
(Golf) Ordered Combinationsby MeowChow (Vicar)
|on Apr 25, 2001 at 00:45 UTC||Need Help??|
The challenge is to write a sub that takes the paramters ($length, @symbols) and produces an ordered list of all sequnces of length $length that are combinations of characters from the list @symbols. The output ordering is based on the order of @symbols. Assume that @symbols is a list comprised of any quantity of one-byte ASCII chars.
My current attempt at 52 chars:
Good luck, and may your efforts yield little code :)
MeowChow s aamecha.s a..a\u$&owag.print