If you were following the recent thread on $! at p5p, you know that the "authorities" absolutely refuse to extend the $! behavior and keep it 1:1 mapping to errno, which we can't use since our error messages usually come from Apache/APR which may not map onto POSIX errno E* codes.
So in cases where we don't croak but return an error (.e.g :Apache or :APR perlio layers), we need to set an error variable, which can't be $!. So it must be something similar to $DBI::strerr. Since at some point APR:: will have its own life, we should probably use $APR::strerr for APR:: errors and $mod_perl::strerr or $Apache::strerr for mod_perl errors.
I think there are a few places where we set $@ as well. Need to review that as well.
__________________________________________________________________ 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
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
