[Catalyst] Catalyst::Model::CDBI and AutoCommit/autoupdate

Frank Wiegand frank.wiegand at gmail.com
Sat May 21 10:20:41 CEST 2005


Sebastian Riedel schrieb:

> This was inherited from Maypole, and it's what most people want...
> 
> You could do something like this
> 
>     use NEXT;
> 
>     sub new {
>         my $self = shift->NEXT::new(@_);
>         $_->autoupdate(0) for $self->loader->classes;
>         return $self;
>     }

Ah, ok. This'll work for me.

Thanks, Frank



More information about the Catalyst mailing list