[Dbix-class] one issue in cookBook example

Mike.G hylinux at gmail.com
Mon Jun 23 04:32:41 BST 2008


thanks very much.


2008/6/22 Michele Beltrame <mb at cattlegrid.info>:

> 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 =3D $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
>
> _______________________________________________
> 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@lists.rawmode.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20080623/903=
12d97/attachment.htm


More information about the DBIx-Class mailing list