From: Graham B. <gb...@us...> - 2003-05-06 11:07:23
|
Update of /cvsroot/perl-ldap/asn/lib/Convert In directory sc8-pr-cvs1:/tmp/cvs-serv6983/lib/Convert Modified Files: ASN1.pm Log Message: utf8 support for perl >= 5.8 Index: ASN1.pm =================================================================== RCS file: /cvsroot/perl-ldap/asn/lib/Convert/ASN1.pm,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- ASN1.pm 20 Aug 2002 00:00:57 -0000 1.23 +++ ASN1.pm 6 May 2003 11:07:19 -0000 1.24 @@ -11,9 +11,17 @@ use vars qw($VERSION @ISA @EXPORT_OK %EXPORT_TAGS @opParts @opName $AUTOLOAD); use Exporter; +use constant CHECK_UTF8 => $] > 5.007; + BEGIN { + + if (CHECK_UTF8) { + require Encode; + require utf8; + } + @ISA = qw(Exporter); - $VERSION = '0.16'; + $VERSION = '0.16_01'; %EXPORT_TAGS = ( io => [qw(asn_recv asn_send asn_read asn_write asn_get asn_ready)], |