Switch.pm uses a source code filter and converts the block into an anonymous subroutine. See Filter::Util::Call for more information on source code filters. Cheers, Todd Austin Schutz wrote: > Btw, I notice case uses the mysterious { } as a code block, like > sort() does. Can it be explained how to do this in 100 words or less? :-) TIMTOWTDI