[Dbix-class] DBIC under Perl 5.6.1

Christopher H. Laco claco at chrislaco.com
Mon Sep 18 17:06:49 CEST 2006


m8sf-ijyo at xemaps.com wrote:
> 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 >  
> -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.

I'm curious about the answer to this one, esp since the use of
UTF8Columns is optional.

When I converted Handel from CDBI to DBIC, I prereq went from 5.6.1 to
5.8.1. I'm not terribly concerned about that, but if I could shoehorn my
perl req back down to 5.6.1, that might give it a slightly greater
install base.

Or not. :-)

-=Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.rawmode.org/pipermail/dbix-class/attachments/20060918/b0f5aaa1/attachment.pgp 


More information about the Dbix-class mailing list