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: [email protected] > Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/ > [email protected]/ > Dev site: http://dev.catalyst.perl.org/ _______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
