Skip Menu |

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 32988
Status: resolved
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: cub.uanic [...] gmail.com
Cc:
AdminCc:

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



Subject: Mistake in example for set_$rel
Taken from http://search.cpan.org/~jrobinson/DBIx-Class-0.08009/lib/DBIx/Class/Relationship/Base.pm#set_$rel This code: my @roles = $schema->resultset('Role')->search({ role => { '-in' -> ['Fred', 'Barney'] } } ); should changed to: my @roles = $schema->resultset('Role')->search({ role => { '-in' => ['Fred', 'Barney'] } } ); (after '-in' should be "=>", not "->")
Fixed in svn revision 4371.