Skip Menu |

This queue is for tickets about the sql-simple CPAN distribution.

Report information
The Basics
Id: 23572
Status: new
Priority: 0/
Queue: sql-simple

People
Owner: Nobody in particular
Requestors: davidp [...] preshweb.co.uk
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: Small documentation error in Sql::Simple->update() method
in the examples block for the Sql::Simple->update() method, it shows: # update multiple times with one set value. (a where "in" is advisable) Sql::Simple->update('produce', { 'price' = .50 }, [ { 'name' => 'lettuce' }, { 'name' => 'onions' } ); - note the [ is unclosed, I assume it should be: # if you have a reason (and I can't think of one) to execute # update multiple times with one set value. (a where "in" is advisable) Sql::Simple->update('produce', { 'price' = .50 }, [ { 'name' => 'lettuce' }, { 'name' => 'onions' } ] );