[Catalyst] ->model-> return values?
omega at palle.net
Sun Sep 24 23:41:08 CEST 2006
That depends totaly on what model you are using, since thats what
determins the return-value.
On 23. sep. 2006, at 00.32, Roderick A. Anderson wrote:
> I'm 'looked-out' Been searching and reading for the last two hours
> no good results.
> A pointer/suggestion/clue-stick would be appreciated.
> Do I need to wrap a
> $c->model( 'TheModel' )->update( ... )
> $c->model( 'TheModel' )->delete( ... )
> in an eval block to check for success or failure or ( hope, hope,
> hope )
> can I just test the return value?
> If the return option is valid what would be returned on success or
> Heck I couldn't find anything in the Cheetah book. Could just be
> because it is late Friday too.
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/
> catalyst at lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
More information about the Catalyst