- or download this
Error executing class callback in init stage: DBIx::Class::Schema::load_classes(): DBIx::Class::Relationship::BelongsTo::belongs_to(): Can't locate Notes/DBI/User.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at (eval 53) line 3. - or download this
package Notes;
- or download this
use strict;
use base 'CGI::Application';
...
#use CGI::Application::Plugin::Config::Simple; # for Config::Simple su
+pport;
#use CGI::Session;
use CGI::Carp qw[fatalsToBrowser]; #DEBUG ONLY
- or download this
...
- or download this
sub main {
...
}
- or download this
package Notes::DBI;
use strict;
use base qw/DBIx::Class::Schema/;
- or download this
__PACKAGE__->load_classes(); ## hopefully won't slow things down
- or download this
1;
- or download this
package Notes::DBI::Users;
use base qw/DBIx::Class/;
__PACKAGE__->load_components(qw/ PK::Auto Core /);
- or download this
__PACKAGE__->table('users');
__PACKAGE__->add_columns(
...
__PACKAGE__->set_primary_key('userid');
__PACKAGE__->has_many( notes => 'Notes::DBI::Notes');
1;
- or download this
package Notes::DBI::Notes;
use base qw/DBIx::Class/;
- or download this
__PACKAGE__->load_components(qw/ PK::Auto Core /);
__PACKAGE__->table('notes');
...
);
__PACKAGE__->set_primary_key('noteid');
__PACKAGE__->belongs_to( user => 'Notes::DBI::User');
- or download this
1;