It seems that you already knew Main is the level representing Schema, so what's the problem? Maybe you prefer MyApp::Schema::ResultSet::*, but it is just a name, isn't it? You can change it as you like.
Cheers On Mon, Sep 2, 2013 at 11:39 PM, Dave Howorth <[email protected]> wrote: > I'm just looking at DBIx::Class::Manual::Example > > It starts out by setting up a database and then goes on to 'Set up > DBIx::Class::Schema' and all of a sudden it is creating a subdirectory > called Main. > > Why? Where did that come from? It's supposed to be a simple example, so > presumably there's a pretty important reason why this directory appears > out of nowhere. > > Why is there no explanation of why we need that extra level of > directory? Why is it called Main instead of Schema? > > Cheers, Dave > > _______________________________________________ > List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class > IRC: irc.perl.org#dbix-class > SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ > Searchable Archive: http://www.grokbase.com/group/[email protected] _______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/[email protected]
