"...I guess this kind of stuff is a strong argument for 'use Switch;' -grin-"... Switch is a pain with the debugger and .perldb. It re-interprets your code (replacing the Switch statements with if's I guess) and shifts all of the line numbers so your break points don't work. It is a good thought, but if you're in the debugger a lot it is more pain than it is worth.