[Catalyst] error

Matt S Trout dbix-class at trout.me.uk
Tue Jan 16 12:14:04 GMT 2007


On 13 Jan 2007, at 13:57, Octavian Rasnita wrote:

> Hi,
>
> If I do:
>
> perl TranzactiiBursiere.pm
>
> it gives the error below.
> However, if I access the application in the browser, it works fine.
>
> Couldn't instantiate component "TranzactiiBursiere::Model::Db",  
> "Can't locate object method "compose_namespace" via package "Db"

Don't call your database class 'Db'.

DB is the namespace reserved for the perl debugger.

Windows is case insensitive.

Guess what's just happened ... :)

-- 
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for  
Catalyst,
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for  
details.
+ Help us build a better perl ORM: http://dbix- 
class.shadowcatsystems.co.uk/ +





More information about the Catalyst mailing list