And this one is from adding 'use Moose;' in MyApp::Model::MD.pm
Thanks.
Couldn't load class (MyApp) because: Couldn't instantiate component "M
+yApp::Model::MD", "Attribute (schema_class) is required at /usr/local
+/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/Class/MOP/Class.p
+m line 365
Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0x
+a82fc04)', 'HASH(0xad3e564)') called at /usr/local/lib/perl5/site_per
+l/5.10.0/i386-linux-thread-multi/Class/MOP/Class.pm line 352
Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xa82fc04)'
+, 'HASH(0xad3e564)') called at /usr/local/lib/perl5/site_perl/5.10.0/
+Moose/Meta/Class.pm line 205
Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xa82fc04)
+', 'HASH(0xad3e564)') called at /usr/local/lib/perl5/site_perl/5.10.0
+/Moose/Object.pm line 25
Moose::Object::new('MyApp::Model::MD', 'MyApp', 'HASH(0xa8e0244)')
+ called at /usr/local/lib/perl5/site_perl/5.10.0/MooseX/Traits/Plugga
+ble.pm line 131
MooseX::Traits::Pluggable::new_with_traits('MyApp::Model::MD', 'My
+App') called at /usr/local/lib/perl5/site_perl/5.10.0/CatalystX/Compo
+nent/Traits.pm line 145
CatalystX::Component::Traits::COMPONENT('MyApp::Model::MD', 'MyApp
+', 'HASH(0xa6ac42c)') called at /usr/local/lib/perl5/site_perl/5.10.0
+/Catalyst.pm line 2310
eval {...} called at /usr/local/lib/perl5/site_perl/5.10.0/Catalys
+t.pm line 2310
Catalyst::setup_component('MyApp', 'MyApp::Model::MD') called at /
+usr/local/lib/perl5/site_perl/5.10.0/Catalyst.pm line 2227
Catalyst::setup_components('MyApp') called at /usr/local/lib/perl5
+/site_perl/5.10.0/Catalyst.pm line 1112
Catalyst::setup('MyApp') called at /var/www/html/App-Cinema/script
+/../lib/App/Cinema.pm line 24
require App/Cinema.pm called at /usr/local/lib/perl5/site_perl/5.1
+0.0/i386-linux-thread-multi/Class/MOP.pm line 98
Class::MOP::__ANON__() called at /usr/local/lib/perl5/site_perl/5.
+10.0/Try/Tiny.pm line 42
eval {...} called at /usr/local/lib/perl5/site_perl/5.10.0/Try/Tin
+y.pm line 39
Try::Tiny::try('CODE(0xa0f59c4)', 'CODE(0xa1c76dc)') called at /us
+r/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/Class/MOP.
+pm line 107
Class::MOP::load_first_existing_class('MyApp') called at /usr/loca
+l/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/Class/MOP.pm lin
+e 118
Class::MOP::load_class('MyApp') called at /usr/local/lib/perl5/sit
+e_perl/5.10.0/Catalyst/ScriptRole.pm line 61
Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=H
+ASH(0x9dce9bc)') called at /usr/local/lib/perl5/site_perl/5.10.0/Cata
+lyst/Script/Server.pm line 144
Catalyst::Script::Server::__ANON__() called at /usr/local/lib/perl
+5/site_perl/5.10.0/Catalyst/Restarter/Forking.pm line 20
Catalyst::Restarter::Forking::_fork_and_start('Catalyst::Restarter
+::Forking=HASH(0xa0e0fc4)') called at /usr/local/lib/perl5/site_perl/
+5.10.0/Catalyst/Restarter.pm line 119
Catalyst::Restarter::_handle_events('Catalyst::Restarter::Forking=
+HASH(0xa0e0fc4)', 'File::ChangeNotify::Event=HASH(0xa1ce7f4)') called
+ at /usr/local/lib/perl5/site_perl/5.10.0/Catalyst/Restarter.pm line
+96
Catalyst::Restarter::_restart_on_changes('Catalyst::Restarter::For
+king=HASH(0xa0e0fc4)') called at /usr/local/lib/perl5/site_perl/5.10.
+0/Catalyst/Restarter.pm line 84
Catalyst::Restarter::run_and_watch('Catalyst::Restarter::Forking=H
+ASH(0xa0e0fc4)') called at /usr/local/lib/perl5/site_perl/5.10.0/Cata
+lyst/Script/Server.pm line 178
Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0x9dc
+e9bc)') called at /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-th
+read-multi/Class/MOP/Method/Wrapped.pm line 48
Class::MOP::Method::Wrapped::__ANON__('Catalyst::Script::Server=HA
+SH(0x9dce9bc)') called at /usr/local/lib/perl5/site_perl/5.10.0/i386-
+linux-thread-multi/Class/MOP/Method/Wrapped.pm line 89
Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0x9dc
+e9bc)') called at /usr/local/lib/perl5/site_perl/5.10.0/Catalyst/Scri
+ptRunner.pm line 20
Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'MyApp', 'Se
+rver') called at script/app_cinema_server.pl line 8"Compilation faile
+d in require at /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thre
+ad-multi/Class/MOP.pm line 98.
at /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/Clas
+s/MOP.pm line 102
Class::MOP::__ANON__('Couldn\'t instantiate component "MyApp::Mode
+l::MD", "At...') called at /usr/local/lib/perl5/site_perl/5.10.0/Try/
+Tiny.pm line 66
Try::Tiny::try('CODE(0xa0f59c4)', 'CODE(0xa1c76dc)') called at /us
+r/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/Class/MOP.
+pm line 107
Class::MOP::load_first_existing_class('MyApp') called at /usr/loca
+l/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/Class/MOP.pm lin
+e 118
Class::MOP::load_class('MyApp') called at /usr/local/lib/perl5/sit
+e_perl/5.10.0/Catalyst/ScriptRole.pm line 61
Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=H
+ASH(0x9dce9bc)') called at /usr/local/lib/perl5/site_perl/5.10.0/Cata
+lyst/Script/Server.pm line 144
Catalyst::Script::Server::__ANON__() called at /usr/local/lib/perl
+5/site_perl/5.10.0/Catalyst/Restarter/Forking.pm line 20
Catalyst::Restarter::Forking::_fork_and_start('Catalyst::Restarter
+::Forking=HASH(0xa0e0fc4)') called at /usr/local/lib/perl5/site_perl/
+5.10.0/Catalyst/Restarter.pm line 119
Catalyst::Restarter::_handle_events('Catalyst::Restarter::Forking=
+HASH(0xa0e0fc4)', 'File::ChangeNotify::Event=HASH(0xa1ce7f4)') called
+ at /usr/local/lib/perl5/site_perl/5.10.0/Catalyst/Restarter.pm line
+96
Catalyst::Restarter::_restart_on_changes('Catalyst::Restarter::For
+king=HASH(0xa0e0fc4)') called at /usr/local/lib/perl5/site_perl/5.10.
+0/Catalyst/Restarter.pm line 84
Catalyst::Restarter::run_and_watch('Catalyst::Restarter::Forking=H
+ASH(0xa0e0fc4)') called at /usr/local/lib/perl5/site_perl/5.10.0/Cata
+lyst/Script/Server.pm line 178
Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0x9dc
+e9bc)') called at /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-th
+read-multi/Class/MOP/Method/Wrapped.pm line 48
Class::MOP::Method::Wrapped::__ANON__('Catalyst::Script::Server=HA
+SH(0x9dce9bc)') called at /usr/local/lib/perl5/site_perl/5.10.0/i386-
+linux-thread-multi/Class/MOP/Method/Wrapped.pm line 89
Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0x9dc
+e9bc)') called at /usr/local/lib/perl5/site_perl/5.10.0/Catalyst/Scri
+ptRunner.pm line 20
Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'MyApp', 'Se
+rver') called at script/app_cinema_server.pl line 8
|