The if.pm module from 5.8 is available on CPAN, and my preliminary tests indicate it works in 5.6.1. Here is one way to get your logic in the outer scope:
use if $locale, 'locale'; use if !$locale and $utf8 and $perl_version_ok, 'utf8';
After Compline,
Zaxo
In reply to Re: use locale/utf8 scoping
by Zaxo
in thread use locale/utf8 scoping
by mirod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |