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
Download (untitled) / with headers
text/plain 558b
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' } ] );


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.