[Dbix-class] one issue in cookBook example

Matt S Trout dbix-class at trout.me.uk
Sun Jul 20 00:21:41 BST 2008


On Sun, Jun 22, 2008 at 04:09:40PM +0200, Michele Beltrame wrote:
> 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. ;-)

And yet I couldn't seem to find the patch you attached ;-P

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the DBIx-Class mailing list