Skip Menu |

This queue is for tickets about the ORMesque CPAN distribution.

Report information
The Basics
Id: 72202
Status: open
Priority: 0/
Queue: ORMesque

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.110422
Fixed in: (no value)



Subject: Bleadperl v5.15.4-68-g03c5309 breaks AWNCORP/ORMesque-1.110422.tar.gz
https://rt.perl.org:443/rt3/Ticket/Display.html?id=102998 Cross reference to perl's RT, just in case. Sorry for the spam,
On Sat Nov 05 14:09:07 2011, ANDK wrote: Show quoted text
> https://rt.perl.org:443/rt3/Ticket/Display.html?id=102998 > > Cross reference to perl's RT, just in case. > > Sorry for the spam,
As you might see from the perl ticket this turned out to be from a different commit. That commit changed base.pm so it no longer uses the module VERSION to detect if the module has been loaded. This meant that with the newer base.pm, the C<use base 'DBIx::Simple';> in ORMesque.pm would load the real DBIx::Simple on top of the faked DBIx::Simple, undoing all your hard work and producing a bunch of warnings. I've attached a fix for ORMesque that will allow it to work with both older and newer base.pm. Tony
Subject: rt-perl-102998.patch
--- lib/ORMesque/DBIxSimpleHack.pm.orig 2012-03-01 14:30:50.000000000 +1100 +++ lib/ORMesque/DBIxSimpleHack.pm 2012-03-01 14:31:39.000000000 +1100 @@ -3,6 +3,9 @@ use DBI; use Carp (); + # prevent the real thing loading + $INC{"DBIx/Simple.pm"} = 1; + $DBIx::Simple::VERSION = '1.32_MOD'; $Carp::Internal{$_} = 1 for qw(DBIx::Simple DBIx::Simple::Result DBIx::Simple::DeadObject);