Skip Menu |

This queue is for tickets about the Moops CPAN distribution.

Report information
The Basics
Id: 110619
Status: rejected
Priority: 0/
Queue: Moops

People
Owner: Nobody in particular
Requestors: email [...] michael.vu
gregoa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: gregoa [...] cpan.org
Subject: libmoops-perl: FTBFS: Can't locate object method "done" via package "Moops::Parser"

Message body is not shown because it is too large.

From: ntyni [...] iki.fi
On Fri Dec 25 23:00:09 2015, GREGOA wrote: Show quoted text
> We have the following bug reported to the Debian package of Moops > (https://bugs.debian.org/809009):
Show quoted text
> Can't locate object method "done" via package "Moops::Parser" at
This is a 5.22/threaded regression in Devel-CallParser, see https://rt.cpan.org/Public/Bug/Display.html?id=110623
Subject: method "done" via package "Moops::Parser"
Hi Moops syntax sugar surprised me. But when I try the first example of the POD as below. Perl complains error. Not sure this error is belongs to Moo or Moops::Parser. Can you have a look please? Best regards, Michael Vu __ERROR__ Can't locate object method "done" via package "Moops::Parser" at local/lib/perl5/Moops/Parser.pm line 200. __PERL_VERSION__ https://hub.docker.com/r/library/perl/tags/perl:5.22.1-threaded __EXAMPLE__ package Moops::Play; use Moops; role NamedThing { has name => (is => "ro", isa => Str); } class Person with NamedThing; class Company with NamedThing; class Employee extends Person { has job_title => (is => "rwp", isa => Str); has employer => (is => "rwp", isa => InstanceOf["Company"]); method change_job ( Object $employer, Str $title ) { $self->_set_job_title($title); $self->_set_employer($employer); } method promote ( Str $title ) { $self->_set_job_title($title); } } 1;
From: duff [...] pobox.com
Duplicate of #110619 -Scott On Sun Mar 27 07:27:51 2016, MICVU wrote: Show quoted text
> Hi > > Moops syntax sugar surprised me. But when I try the first example of > the POD as below. Perl complains error. > > Not sure this error is belongs to Moo or Moops::Parser. > > Can you have a look please? > > Best regards, > > Michael Vu > > __ERROR__ > Can't locate object method "done" via package "Moops::Parser" at > local/lib/perl5/Moops/Parser.pm line 200. > > __PERL_VERSION__ > https://hub.docker.com/r/library/perl/tags/perl:5.22.1-threaded > > __EXAMPLE__ > package Moops::Play; > > use Moops; > > role NamedThing { > has name => (is => "ro", isa => Str); > } > > class Person with NamedThing; > > class Company with NamedThing; > > class Employee extends Person { > has job_title => (is => "rwp", isa => Str); > has employer => (is => "rwp", isa => InstanceOf["Company"]); > > method change_job ( Object $employer, Str $title ) { > $self->_set_job_title($title); > $self->_set_employer($employer); > } > > method promote ( Str $title ) { > $self->_set_job_title($title); > } > } > > 1;
Bug in Devel::CallParser. Try installing Alt::Devel::CallParser::ButWorking which will give you a patched version of Devel::CallParser.