http://www.perlmonks.org?node_id=1028668

exilepanda has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

It happens to me that when I program CGI scripts with frames or iframes, it throws 500 error by random time; however, if I reload that single frame again, it works normally. I checked the log, and it logged sort of module load fail records. I perceive that's kind of upper network connection limit from my WinXP-Pro, or some flock states triggers these errors.

Anyway, I am looking for if there's anyway I can do something like this :

eval { use stict; use warnings; use This; use That; }; while ( $@ ) { eval { use stict; use warnings; use This; use That; } } # rest of my code in main
Since I know the use statement is run first then everything else, so this code won't work. But is that anything else I can do about it? </code>