At least with some versions of perl, the require gets evaluated at compile time and raises an exception even if it is enclosed by the eval {} braces. The only way to get around this is to eval the string.
I'm not sure whether this is a current issue or was a problem with 5.00503, but I've kept it in. Lincoln > - why eval string: > > eval "require mod_perl"; > > shouldn't it be: > > eval { require mod_perl }; > > ? > > > __________________________________________________________________ > Stas Bekman JAm_pH ------> Just Another mod_perl Hacker > http://stason.org/ mod_perl Guide ---> http://perl.apache.org > mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com > http://modperlbook.org http://apache.org http://ticketmaster.com -- ======================================================================== Lincoln D. Stein Cold Spring Harbor Laboratory [EMAIL PROTECTED] Cold Spring Harbor, NY ========================================================================