Switch.pm

Todd Caine todd_caine at eli.net
Thu Jul 11 18:55:48 CDT 2002


josh hoblitt wrote:

> I agree that this works... but it doesn't make the code any cleaner to
> read then using a bunch of if statements.

Although I agree Austin's suggestion doesn't look as clean as the switch
statement it is easier to debug using the perl debugger, IMO.  Have you ever
tried debugging a switch statement with the debugger?  Source code filters
are a neat concept but they make debugging code that uses them a nightmare.

> I think this falls into the...
> "If my dog was that ugly I'd shave it's ass and make it walk backwards".
> Department.

Tell us how you really feel.  :)

my $two_cents =
'todd';

TIMTOWTDI



More information about the Pdx-pm-list mailing list