in reply to How to use DBIx::Class::Schema::Loader to create schema from an existing MySQL database?
Hmmm, spoke too soon, the argument signature is:
$schema_class_name, \%loader_options, \@connect_info
So it looks like you've just missed out on the {} options needed between the arguments you're currently passing.
In your make_schema_at call you're wrapping the options in square brackets. This creates an anonymous array reference. If you just remove those brackets the options you have listed (an even number of them at that) will be passed as a list.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to use DBIx::Class::Schema::Loader to create schema from an existing MySQL database?
by david123 (Initiate) on Aug 01, 2013 at 04:27 UTC |