On Sat, Sep 15, 2012 at 10:49 AM, 疾驰者 <78778...@qq.com> wrote:
[...]
>     4.  create a sqlite3 database; the database have two tables : people and
> addresses. The database's directory is ~/addressbook/tmp/
>     5.  $ perl script/addressbook_create.pl model AddressDB DBIC::Schema
> AddressBook::Schema::AddressDB create=static dbi:SQLite:database

if you created the database at ~/addressbook/tmp/database you need to
pass that path to the command at step 5, like
# perl script/addressbook_create.pl model AddressDB DBIC::Schema
AddressBook::Schema::AddressDB create=static
dbi:SQLite:$HOME/addressbook/tmp/database

else i would just put the database in the application directory and
run step 5 like in your original message

cheers m
-- 
siggen.pl: Segmentation Fault

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to