I found solution. I've placed 'use locale' in package scope instead of sub scope and test goes fine. Perl "bug/feature"?
No, my mistake. Please try this one:
Nop. Only attached one.
So may be it is a bug in perl then. If you can reproduce it outside of mod_perl with a short perl script with scopes, please consider submitting a perl bugreport.
I've committed the fix. Thanks for the report and testing, Ruslan.
__________________________________________________________________ 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
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html