...screams that something's wrong in the logic here. It makes sense for the IF part, but if the 'do' parameter points to a non-existence entry in your Subs hash, the THEN part is going to fail out of the script terribly. You probably want THEN to be $Subs{'FrontPage'}->();if ( exists $Subs{$q->param('do')}) { $Subs{$q->param('do')}->(); } else { $Subs{$q->param('do')}->(); }
This doesn't solve your problem, but this is a glaring error.
In reply to Re: Won't jump to Sub!
by Masem
in thread Won't jump to Sub!
by SilverB1rd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |