in reply to Re^2: Error Message when I use Strict
in thread Error Message when I use Strict
The biggest danger lies probably in mistyping the value for $SubroutName, which will lead to a run-type error.
No, the biggest danger lies in accidentally calling another subroutine that you don't plan on calling there. This becomes especially dangerous if the subname is passed from the user (like from a CGI form). Using a dispatch table makes the possible calls explicit, which is usually a good thing.
|
|---|