Skip Menu |

This queue is for tickets about the MooseX-StrictConstructor CPAN distribution.

Report information
The Basics
Id: 62338
Status: resolved
Priority: 0/
Queue: MooseX-StrictConstructor

People
Owner: Nobody in particular
Requestors: STEFFENW [...] cpan.org
Cc:
AdminCc:

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



Subject: missing use Carp qw(confess) - MooseX::StrictConstructor::Role::Object
You call confess but the function is not imported from Carp. This causes an syntax error: syntax error at /usr/lib/perl5/vendor_perl/5.8.8/MooseX/StrictConstructor/Role/Object .pm line 26, near "confess\n "Found unknown attribute(s) init_arg passed to the constructor: @bad""\nBEGIN not safe after errors- -compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/MooseX/StrictConstructor/Role/Object .pm line 32.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/MooseX/StrictConstructor.pm line 12.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/MooseX/StrictConstructor.pm line 12
Subject: Re: [rt.cpan.org #62338] missing use Carp qw(confess) - MooseX::StrictConstructor::Role::Object
Date: Thu, 21 Oct 2010 08:09:45 -0500 (CDT)
To: Steffen Winkler via RT <bug-MooseX-StrictConstructor [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Thu, 21 Oct 2010, Steffen Winkler via RT wrote: Show quoted text
> You call confess but the function is not imported from Carp.
It's actually exported by Moose::Role. Show quoted text
> This causes an syntax error: > > syntax error > at /usr/lib/perl5/vendor_perl/5.8.8/MooseX/StrictConstructor/Role/Object > .pm line 26, near "confess\n "Found unknown attribute(s) > init_arg passed to the constructor: @bad""\nBEGIN not safe after errors- > -compilation aborted > at /usr/lib/perl5/vendor_perl/5.8.8/MooseX/StrictConstructor/Role/Object > .pm line 32.\nCompilation failed in require > at /usr/lib/perl5/vendor_perl/5.8.8/MooseX/StrictConstructor.pm line > 12.\nBEGIN failed--compilation aborted > at /usr/lib/perl5/vendor_perl/5.8.8/MooseX/StrictConstructor.pm line 12
This is really weird. What version of Moose is this with? -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
I have Moose 1.14.
Subject: Re: [rt.cpan.org #62338] missing use Carp qw(confess) - MooseX::StrictConstructor::Role::Object
Date: Thu, 21 Oct 2010 08:35:09 -0500 (CDT)
To: Steffen Winkler via RT <bug-MooseX-StrictConstructor [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Thu, 21 Oct 2010, Steffen Winkler via RT wrote: Show quoted text
> Queue: MooseX-StrictConstructor > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=62338 > > > I have Moose 1.14.
And what version of Perl? -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
This is perl, v5.8.8 built for x86_64-linux-thread-multi
I cannot reproduce this with Perl 5.8.8 on my system. Do you have some code that demonstrates the failure?
I can not reconstruct this behavior after some installations in the test area. Next possible time to reconstruct this at the live system is Januar 22th.
Thank you for your help to find our installation problem. Some old files left. The explaining of the export behavior was very helpful. Many thanks. Steffen.