- let sth =
- dbh#prepare_cached
- "update users set password = ?, force_password_change = false
- where hostid = ? and id = ?" in
- sth#execute [`String password; `Int hostid; `Int userid];
+ PGSQL(dbh)
+ "update users set password = $password, force_password_change = false
+ where hostid = $hostid and id = $userid";