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;
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
