Updating lots of database fields in a single row

Ruud H.G. van Tol rvtol at isolution.nl
Wed Jan 23 09:40:13 GMT 2013


On 2013-01-23 10:27, William Blunn wrote:

> my @fields_to_update = grep { $hash->{$_} } @fields;

Be aware that it skips any false value, like undef, '', '0', 0.

-- 
Ruud



More information about the london.pm mailing list