[Catalyst] ->model-> return values?
Andreas Marienborg
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.
andreas
On 23. sep. 2006, at 00.32, Roderick A. Anderson wrote:
> I'm 'looked-out' Been searching and reading for the last two hours
> with
> no good results.
>
> A pointer/suggestion/clue-stick would be appreciated.
>
> Do I need to wrap a
>
> $c->model( 'TheModel' )->update( ... )
> or
> $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
> failure?
>
> Heck I couldn't find anything in the Cheetah book. Could just be
> because it is late Friday too.
>
>
> TIA,
> Rod
> --
>
> _______________________________________________
> 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
mailing list