Thanks to Andy Bach, we've fixed the problem with Switch.pm. Two little things, 
it was:


1.       Use the 'm' in front of regexes, viz. "m/<regex>/".

2.       Use a semicolon after the code invoking the nested subs in the 
subroutine, viz. "case m/whatever/ { some_sub(); }"

Turns out I was reading an elderly version of the docco which didn't mention 
these two things. (The 'm' was mentioned, but only in regard to '?' delimiters.

Thanks Andy!

Deane Rothenmaier
Programmer/Analyst - IT-StdCfg
Walgreens Corp.
2 Overlook Point #N51022D
MS 6515
Lincolnshire, IL 60069
224-542-5150

Never trust a computer you can't throw out a window. - Steve Wozniak

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to