[Dbix-class] question on syntax

Peter Sørensen maspsr at sdu.dk
Mon Feb 11 12:03:15 GMT 2008


Thank you for enlighten me on this. Changing it does'nt
solve my problem though I have less to write.

Regards,

Peter Sorensen
		
-----Oprindelig meddelelse-----
Fra: Jonathan Rockway [mailto:jon at jrock.us] 
Sendt: 11. februar 2008 12:00
Til: DBIx::Class user and developer list
Emne: Re: [Dbix-class] question on syntax

* On Mon, Feb 11 2008, Nigel Metheringham wrote:
>       $c->model('DLDB::Model::CatalystModelName::AuthorizedUsers')

Also, what this returns is undefined.  It may work, it may make demons fly out of your nose.  Pass only the part after YourApp::Model to $c->model (and the same for $c->view and $c->controller).

Regards,
Jonathan Rockway

_______________________________________________
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



More information about the DBIx-Class mailing list