[Dbix-class] DBIC under Perl 5.6.1
m8sf-ijyo at xemaps.com
m8sf-ijyo at xemaps.com
Mon Sep 18 16:11:11 CEST 2006
I would like to be able to run DBIc::Class under Perl 5.6.1, but at present, the test t/85utf8.t is failing:
t/85utf8........................Undefined subroutine utf8::is_utf8 called at /home/williami/DBIx-Class/blib/lib/DBIx/Class/UTF8Columns.pm line 92
# Looks like your test died before it could output anything.
t/85utf8........................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
It's easy to skip this test:
--- t/85utf8.t.orig
+++ t/85utf8.t
@@ -7,7 +7,7 @@
my $schema = DBICTest->init_schema();
-eval 'use utf8; 1'
+eval 'use utf8; use 5.8.0; 1'
or plan skip_all => 'Need utf8 run this test';
plan tests => 3;
====================
The whole of the rest of the DBIx::Class test suite runs fine under 5.6.1.
I don't need international character sets for my app. I know Catalyst uses attributes (my current application is not Catalyst based), but is anybody aware of any 5.8 gotchas in DBIC? Is 5.8.0 a sensible minimal version?
Ivor.
More information about the Dbix-class
mailing list