The problem with this is that if the undefined sub is in a branch that does not get executed in the envronment you have created, it will still not be caught.
--Bob Niederman, http://bob-n.comif (0) { undefined_sub(); # no error even at runtime } else { undefined_sub2(); # error here }
In reply to Re: (jeffa) Re: "use strict" not too strict
by bobn
in thread "use strict" not too strict
by Mur
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |