Hi all,
I recall reading advice to avoid doing all in one updates like:
$row->update({ attr => 'stuff', foo => 'bar', ultimate_answer => 42 });
in favor of something like:
$row->attr( 'stuff' );
$row->foo( 'bar' );
$row->ultimate_answer( 42 );
$row->update;
The manual seems to default to the latter, but I can't seem to find a
justification. Is this advice correct and if so what are the
advantages?
Thanks,
Nate
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]