[Dbix-class] more schema questions

Chisel Wright chisel at herlpacker.co.uk
Sat Jan 7 21:57:08 CET 2006


On Sat, Jan 07, 2006 at 09:08:50PM +0000, Matt S Trout wrote:
> The Schema.pm docs probably need updating then. The latter form is preferred
> because it means you don't end up hard-coding everything - if you're in
> Catalyst then
> 
> my $obj = $c->model('DBIC')->class('Birds')->find(234);
> 
> is probably even better :)

Oooh, I wasn't aware of this ... I think I'll go and have a play!

-- 
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/

No virus was found in this outgoing message as I didn't bother looking.



More information about the Dbix-class mailing list