Skip Menu |

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

Report information
The Basics
Id: 80356
Status: open
Priority: 0/
Queue: MooseX-Method-Signatures

Owner: Nobody in particular
Requestors: MAUKE [...]

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

Subject: What the heck is this error message?
Download (untitled) / with headers
text/plain 29.4k

Message body is not shown because it is too large.

text/x-perl 175b
package Foo; use strict; use MooseX::Method::Signatures; method get_record( $agent, $target_name ) { for my $record ( @$records ) { } } method get_ip( $agent ) { } 'ok'
text/x-perl 43b
#!perl use warnings; use strict; use Foo;
Subject: wtf-is-this-shit
Download wtf-is-this-shit
application/octet-stream 29.1k

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 654b
A summary of the problem: The two attachments and form a very simple program. contains a trivial error (an undeclared variable) which is normally caught by strict. However, running 'perl' spits out this baffling error message: Could not create the 'reader' method for variable_name because : Could not generate inline reader because : Could not create writer for 'variable_name' because Failed to compile source: Compilation error ... which doesn't even mention the actual problem (Global symbol "$records" requires explicit package name at line 7.) and is further obscured by the 30kB stack trace that follows.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to