On Mon, 28 Oct 2002, Khurram wrote:

> case a
> when 'hello';printf "Blah....\n"
> when 'bye' ; printf "Blah....Blah...\n"
> else; printf "Blah... Blah... Blah...\n"
> end

This is equivalent to:

if 'hello' === a
  ...
elsif 'bye' === a
  ...
else
  ...
end

You see? The case statement uses the argument of the when clause as the
receiver.

  -- Nikodemus