[Dbix-class] DBIx::Class and Red Hat perl bugs and performance redux

Matt S Trout dbix-class at trout.me.uk
Sun Oct 5 12:00:45 BST 2008


On Thu, Oct 02, 2008 at 02:34:10PM +0100, Nigel Metheringham wrote:
> DBIx::Class::StartupCheck
> -------------------------
> 
> Both old and new perls trigger the startup check - as will any perl with
> the fixes to bless/overload bugs that is less than version 5.8.9. Other
> than doing performance checks, which would be prohibitively cpu
> intensive, I cannot think of a method for identifying this problem in
> the startup check code without hitting a lot of false positives. I see
> that this code is patched out in rpm distributions of DBIx::Class. I am
> wondering if the checks have now outlived their usefulness, at least as
> a by default option. Maybe they should be added to the test suite
> instead.

Nobody will see the warning then.

I think the correct approach is probably to identify what in "perl -V"
output indicates a fixed perl as opposed to a broken one, and provide that
in the warning so people know when it's safe to set the env var.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the DBIx-Class mailing list