--- "Randal L. Schwartz" <merlyn@stonehenge.com> wrote: > >>>>> "Ovid" == Ovid <[EMAIL PROTECTED]> writes: > > Ovid> Ack! A 'do nothing' elsif branch? Much cleaner: > > Nope, that changed the meaning. If I provide a value in updates, > it *always* takes precedence. This let me do things like: > > my $foo = Foo->new(...)->save; > my $bar = $existing_bar->clone(foo_id => $foo->id);
Oops. Obviously I need to take some of your Perl classes :) Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object