+ if ($] > 5.007 && utf8::is_utf8($perlcode)) {
A word of caution. Avoid using utf8 and use Encode instead. Users can always get the latest Encode from CPAN, which is not the case with utf8, which is internal to perl. There are quite a few bugs in the utf8 package supplied by the older perl 5.8.x versions. At least one that I have hit is using utf8::decode and -T. Take a look at this thread:
http://marc.theaimsgroup.com/?t=108547699700004&r=1&w=2
This bug was fixed only in perl 5.8.5: http://marc.theaimsgroup.com/?t=108644987200003&r=1&w=2
-- __________________________________________________________________ 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
_______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
