Re: [Dbix-class] getting error; DBIx::Class not finding Schema created with schema loader

2011-08-30 Thread Uwe Völker
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

Re: [Dbix-class] getting error; DBIx::Class not finding Schema created with schema loader

2011-08-30 Thread neil.lunn
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

Re: [Dbix-class] getting error; DBIx::Class not finding Schema created with schema loader

2011-08-30 Thread Rajeev Prasad
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

Re: [Dbix-class] getting error; DBIx::Class not finding Schema created with schema loader

2011-08-30 Thread Rajeev Prasad
] 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

[Dbix-class] getting error; DBIx::Class not finding Schema created with schema loader

2011-08-29 Thread Rajeev Prasad
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