Marc Heiler wrote:
> How to solve the above? Using a big hash which keeps all
> aliases and only leave a single entry per when line, like so?

Hashing is fine. Some alternatives:

Regex:

when /^f(oo(bar)?)?$/

Splat:

FOOBAR = %w{ f foo foobar }

...

when *FOOBAR

-- 
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407