[Dbix-class] Can't find source in DBIx::Class::Schema::resultset()

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Fri Oct 7 15:15:18 GMT 2011

Janne Snabb wrote:
> On Fri, 7 Oct 2011, tzacos at free.fr wrote:
>> i'm new using DBIx::Class.
> I was also very recently. After figuring it out it is very pleasant
> apart from a couple of oddities.
>> First question : why my table named regles (with a ending 's')
>> gives me a pm file Regle.pm (without ending 's') ?
> I got bitten by this also.
> It is doing some magic with English language. I got around of this
> simply by sticking with table names which do not end with "s". There
> is probably some proper way to tell DBIx::Class that it should NOT
> make an assumption that the table names are in English, but I have
> not found it in documentation yet. Maybe someone else can give further
> details on this?

I believe the POD to read is at
I don't know whether that gives you enough flexibility, but it probably
provides a strong enough hint as to which bit of code to comment out if
you want to disable the name mangling entirely.

Cheers, Dave

More information about the DBIx-Class mailing list