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 "->")