[Dbix-class] question about connect from manual

Jim Green student.northwestern at gmail.com
Sun Feb 20 05:39:45 GMT 2011


Hello!
I came from rose::db background so I wonder if there is way

to avoid this to in using a
my $other_schema = My::Schema->connect( $dsn, $user, $password, $attrs );

in rose::db it hides all connection details in DB.pm so I don't need
to worry about connection details each time I access a table.
I just need to use My::TableName to use the table.

Thanks!
Jim.



More information about the DBIx-Class mailing list