Re: one issue in cookBook example

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: one issue in cookBook example

Matt S Trout
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/

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@...
Loading...