1. use the right error message:
$Apache::errstr $Apache::err $APR::errstr $APR::err
I'd would have to lean toward preventing namespace pollution, so using ModPerl or MP doesn't feel right. Are all the error conditions truly generated only in APR routines? If so, I'd suggest: 1a. just use $APR::errstr and $APR::err
Thanks Larry,
I'm bouncing of p5p the idea of having a commonly acceptable dual-error variable. In which case this whole issue becomes moot. So far I came up with $E::err and Rafael suggested ${^ERROR}. I like Rafael's suggestion as it doesn't require hijacking a namespace, but may be it's too hard to type as it'll be used a lot. What do you think?
Feel free to voice your ideas on the p5p list.
As I mentioned on the p5p list, once we choose such a variable, there will be no more need for things like $DBI::err, as all projects will use the same name (if they choose to).
__________________________________________________________________ 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]
