Now I have something like; my $row = $c->model('SireDB::Article')->find($result->params->{'id'}); if ($row->id == $result->params->{'id'}) { $row->body($result->params->{'editarea'}); $row->title($result->params->{'title'}); $row->changed( localdate(time) ); $row->update; } where localdate came from Class::Date and is equal current unix time
but because of some reason I wanted use "database server time", I mean use "now()" sql function. How to do this? =pod this doesn't work because create literal update table changed = 'now()' instead of update table changed = now() =cut $row->changed( 'now()' ); eloy -- [EMAIL PROTECTED] jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej _______________________________________________ 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/ Searchable Archive: http://www.mail-archive.com/dbix-class@lists.rawmode.org/