That wouldnt work. The use() is executed during the parsing of the BEGIN block and so is already over by the BEGIN's runtime starts. Normally you'd write this using require.
BEGIN { eval { require CGI } or print "failed\n"; }
In reply to Re: feedback on successful module loading
by diotalevi
in thread feedback on successful module loading
by ggg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |