in reply to DBIx::Class update and simultaneosly modify field

How's is the above code "not working"? I'm pretty sure as long as your resultset isn't empty $rs->update({field1 => 55, field2 => 'field2+1' }); will work.

Now, if you mean 'field2+1' isn't working, you may want to use something like

my $field2 = $rs->field1 + 1; $rs->update({field1 => 55, field2 => $field2 });
(Untested).

HTH!

meh.