Brand new installation .. trying to run my app, but it blows up with the error below.
As you may deduce I have a attribute 'obj_templates' in the parent class and then in the ansestor I override it with '+obj_templates' declaration.
The same app work OK on a different machines with Moose ver : 1.21 and 2.08

What look suspicious to me is this part of the msg.. there is no module named after "from" ?!
Also if I disable the attr in the parent and remove the '+' in the ansestor it works.
to inherit from in VS::Payload::Postal

Any idea how can I resolve or even start to debug this problem ?
Here is the error I get in version 2.1200 :

Could not find an attribute by the name of 'obj_templates' to inherit +from in VS::Payload::Postal at /home/raptor/perl5/perlbrew/perls/perl +-5.18.2/lib/site_perl/5.18.2/x86_64-linux/Moose/Exception.pm line 38 Moose::Exception::_build_trace('Moose::Exception::NoAttributeFound +InSuperClass=HASH(0x245be10)') called at reader Moose::Exception::tra +ce (defined at /home/raptor/perl5/perlbrew/perls/perl-5.18.2/lib/site +_perl/5.18.2/x86_64-linux/Moose/Exception.pm line 12) line 7 Moose::Exception::trace('Moose::Exception::NoAttributeFoundInSuper +Class=HASH(0x245be10)') called at /home/raptor/perl5/perlbrew/perls/p +erl-5.18.2/lib/site_perl/5.18.2/x86_64-linux/Moose/Exception.pm line +50 Moose::Exception::BUILD('Moose::Exception::NoAttributeFoundInSuper +Class=HASH(0x245be10)', 'HASH(0x240dc40)') called at /home/raptor/per +l5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/x86_64-linux/Class +/MOP/Method.pm line 131 Class::MOP::Method::execute('Moose::Meta::Method=HASH(0x24d0808)', + 'Moose::Exception::NoAttributeFoundInSuperClass=HASH(0x245be10)', 'H +ASH(0x240dc40)') called at /home/raptor/perl5/perlbrew/perls/perl-5.1 +8.2/lib/site_perl/5.18.2/x86_64-linux/Moose/Object.pm line 59 Moose::Object::BUILDALL('Moose::Exception::NoAttributeFoundInSuper +Class=HASH(0x245be10)', 'HASH(0x240dc40)') called at /home/raptor/per +l5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/x86_64-linux/Moose +/Meta/Class.pm line 285 Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0x245c050) +', 'HASH(0x240dc40)') called at /home/raptor/perl5/perlbrew/perls/per +l-5.18.2/lib/site_perl/5.18.2/x86_64-linux/Moose/Object.pm line 30 Moose::Object::new('Moose::Exception::NoAttributeFoundInSuperClass +', 'class', 'Moose::Meta::Class=HASH(0x2222158)', 'attribute_name', ' +obj_templates', 'params', 'HASH(0x1078580)') called at /home/raptor/p +erl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/x86_64-linux/Moo +se/Util.pm line 54 Moose::Util::throw_exception('NoAttributeFoundInSuperClass', 'clas +s', 'Moose::Meta::Class=HASH(0x2222158)', 'attribute_name', 'obj_temp +lates', 'params', 'HASH(0x1078580)') called at /home/raptor/perl5/per +lbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/x86_64-linux/Moose/Meta/ +Class.pm line 726 Moose::Meta::Class::_process_inherited_attribute('Moose::Meta::Cla +ss=HASH(0x2222158)', 'obj_templates', 'definition_context', 'HASH(0x2 +417890)', 'default', 'CODE(0x23dbd60)') called at /home/raptor/perl5/ +perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/x86_64-linux/Moose/Me +ta/Class.pm line 709 Moose::Meta::Class::_process_attribute('Moose::Meta::Class=HASH(0x +2222158)', '+obj_templates', 'definition_context', 'HASH(0x2417890)', + 'default', 'CODE(0x23dbd60)') called at /home/raptor/perl5/perlbrew/ +perls/perl-5.18.2/lib/site_perl/5.18.2/x86_64-linux/Moose/Meta/Class. +pm line 576 Moose::Meta::Class::add_attribute('Moose::Meta::Class=HASH(0x22221 +58)', '+obj_templates', 'definition_context', 'HASH(0x2417890)', 'def +ault', 'CODE(0x23dbd60)') called at /home/raptor/perl5/perlbrew/perls +/perl-5.18.2/lib/site_perl/5.18.2/x86_64-linux/Moose.pm line 80 Moose::has('Moose::Meta::Class=HASH(0x2222158)', '+obj_templates', + 'default', 'CODE(0x23dbd60)') called at /home/raptor/perl5/perlbrew/ +perls/perl-5.18.2/lib/site_perl/5.18.2/x86_64-linux/Moose/Exporter.pm + line 408 Moose::has('+obj_templates', 'default', 'CODE(0x23dbd60)') called +at ../base/lib/VS/Payload/Postal.pm line 15 require VS/Payload/Postal.pm at ../lib/VS/App/SRC3.pm line 8 VS::App::SRC3::BEGIN at ../base/lib/VS/Payload/Postal.pm line 0 eval {...} at ../base/lib/VS/Payload/Postal.pm line 0 require VS/App/SRC3.pm at src3.pl line 4 main::BEGIN at ../base/lib/VS/Payload/Postal.pm line 0 eval {...} at ../base/lib/VS/Payload/Postal.pm line 0 Compilation failed in require at ../lib/VS/App/SRC3.pm line 8. BEGIN failed--compilation aborted at ../lib/VS/App/SRC3.pm line 8. Compilation failed in require at src3.pl line 4. BEGIN failed--compilation aborted at src3.pl line 4.

In reply to Moose: inherited attributes by rootcho

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.