You need to add testdb to @INC:
use lib '../testdb';
(right before use Mysqltestdb::Schema;)
2011/8/30 Rajeev Prasad rp.ne...@yahoo.com:
I tried mentioning the path where schema was created, but i am getting
error: can someone hel resolve? thx. Rajeev
/home/someplace/cgi-bin/insertdb.pl
On 30/08/2011 2:23 PM, Rajeev Prasad wrote:
I tried mentioning the path where schema was created, but i am getting
error: can someone hel resolve? thx. Rajeev
use Mysqltestdb::Schema;
Mysqltestdb::Schema-dump_to_dir('../testdb/');
Whilst it is valid and has been mentioned that path to your
error; DBIx::Class not finding Schema created
with schema loader
You need to add testdb to @INC:
use lib '../testdb';
(right before use Mysqltestdb::Schema;)
2011/8/30 Rajeev Prasad rp.ne...@yahoo.com:
I tried mentioning the path where schema was created, but i am getting
error: can someone
] getting error; DBIx::Class not finding Schema created
with schema loader
You need to add testdb to @INC:
use lib '../testdb';
(right before use Mysqltestdb::Schema;)
2011/8/30 Rajeev Prasad rp.ne...@yahoo.com:
I tried mentioning the path where schema was created, but i am getting
error: can
I tried mentioning the path where schema was created, but i am getting error:
can someone hel resolve? thx. Rajeev
/home/someplace/cgi-bin/insertdb.pl
/home/someplace/testdb/Mysqltestdb/Schema/ResultSet
insertdb.pl===
#!/usr/bin/perl
use strict;
use