On Thu, 2003-10-30 at 11:41, Mark Hawkes wrote: > At 11:23 2003-10-30 -0500, you wrote: > >In my never ending search for more elegant looking and self-documenting > >code I decided to try out the Switch module. > > I've sometimes faked a switch statement like this...
That's a good approach, and there are more examples in perlfaq7: http://perldoc.com/perl5.8.0/pod/perlfaq7.html#How-do-I-create-a-switch-or-case-statement- - Perrin