Hi.<br><br>I can't use two own components that use ResultSetManager.<br><br>ex:<br><br>package DBIx::Class::Foo;<br>use strict;<br>use base qw/DBIx::Class/;<br><br>__PACKAGE__->load_components(qw/ResultSetManager/);<br>
<br>sub foo : ResultSet {<br>}<br><br>1;<br><br>package DBIx::Class::Bar;<br>use strict;<br>use base qw/DBIx::Class/;<br><br>__PACKAGE__->load_components(qw/ResultSetManager/);<br><br>sub bar : ResultSet {<br>}<br><br>
1;<br><br>package DBIC::Test;<br>use strict;<br>use base 'DBIx::Class';<br><br>__PACKAGE__->load_components(qw/Foo Bar PK::Auto::SQLite Core/);<br><br>1;<br><br>my $schema = DBIC->connect(...);<br>my $it;<br>$it = $schema->resultset('Test')->foo(); # ok
<br>$it = $schema->resultset('Test')->bar(); # not ok<br><br><br>The ResultSet attribute exist in the method of the foo.<br>But the ResultSet attribute doesn't exist in the method of the bar.<br><br>Is my usage wrong?
<br><br>atsushi