[Dbix-class] bug in CascadeActions->update for might_have that doesn't have one

Mark Hedges hedges at ucsd.edu
Sat Apr 8 01:24:28 CEST 2006



On Fri, 7 Apr 2006, Mark Hedges wrote:

> -    $_->update for $self->$rel;
> +    $_->update for grep {$_} $self->$rel;


Sorry, this is more efficient:

 $_->update for grep { defined } $self->$rel;



More information about the Dbix-class mailing list