[Dbix-class] one issue in cookBook example

Michele Beltrame mb at cattlegrid.info
Sun Jun 22 15:09:40 BST 2008


Hi Mike.G!

> so , here. that variable $source, what's mean about the $source?
> and where's we defined it?
> 
> who can help me explain that variable?

It should probably be defined this way:

my $source = $schema->resultset('Foo')->result_source;

The cookbook should probably be updated with this information. ;-)

Michele.

-- 
Michele Beltrame
http://www.cattlegrid.info/
ICQ 76660101 - MSN mb at italpro.net



More information about the DBIx-Class mailing list