[Catalyst] ->model-> return values?

Roderick A. Anderson raanders at acm.org
Sat Sep 23 00:32:49 CEST 2006

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( ... )
	$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.


More information about the Catalyst mailing list