On 5 May 2011, at 16:27, matthew couchman (JIC) wrote:
<sheepish>
Sorry! It looks like I just had my arguments in the wrong order:
perl script/app_create.pl model App DBIC::Schema \
App::Schema create=static \
components=EncodedColumn \
AutoCommit=1 \
moniker_map='{ plant_species => "PlantSpecies" }' \
dbi:mysql:antspec 'username' ‘password’
does the trick. Thanks for the replies.
</sheepish>
That was hella easy to miss (I at least had _no idea_).
A doc patch with an example to help other people avoid the same trap
would be very welcome :)
Cheers
t0m
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/