BEGIN { eval { use CGI; }; if ($@) { print "failed\n"; } else { print "use CGI worked\n"; } }
It's a rather odd thing to do, however. You might want to use fatalstobrowser of whichever modules does that (Carp?)
In reply to Re: feedback on successful module loading
by ikegami
in thread feedback on successful module loading
by ggg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |