go ahead... be a heretic | |
PerlMonks |
Re: using switchby Limbic~Region (Chancellor) |
on Sep 29, 2005 at 13:38 UTC ( [id://496100]=note: print w/replies, xml ) | Need Help?? |
sicone,
As has been pointed out, using Switch in production code is discouraged. This will be mostly remedied in Perl6. Dispatch Tables don't offer the same degree of flexibility, but for specific problems are a great solution. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|