-- "Aaron D. Marasco" <[EMAIL PROTECTED]>

> I like something like this, where the sub name is is sub_KEYWORD (from a
> CGI, hopefully you can extract usefulness):
>
> eval "sub_".param('page') if (param && defined param('page') && defined
> "sub_".param('page')); &page_login; # If all else fails...

But the eval is fairly high overhead. It's faster and
offers a better safety net to use a jump-table based on
the hash.

--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 800 762 1582

Reply via email to