1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00

Wrap the require utf8 in an eval to keep Test::MinimumVersion happy

This commit is contained in:
Adam Kennedy 2009-04-11 01:50:56 +00:00
parent db43962dd2
commit 3a22c3c28a

View file

@ -15,7 +15,8 @@ BEGIN {
plan( skip_all => 'Unicode is not supported before 5.8.5' );
}
}
require utf8;
eval "require utf8";
die $@ if $@;
my $dbh = connect_ok( unicode => 1 );
$dbh->func( "perl_uc", 1, \&perl_uc, "create_function" );