Skip Menu | will be shut down on March 1st, 2021.

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

Report information
The Basics
Id: 80357
Status: new
Priority: 0/
Queue: MooseX-Method-Signatures

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

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

Subject: MX:M:S can corrupt line numbers for unrelated parts of the file
Download (untitled) / with headers
text/plain 507b
$ cat lineno #!perl use warnings; use strict; use MooseX::Method::Signatures; { my $uniq = 0; method fresh_name() { $self->prefix . $uniq++ } } # this is line 13 method prefix() { $self->{prefix} } my $aref = []; my $oops = %{ $aref }; print "got $oops\n"; __END__ $ perl lineno Not a HASH reference at lineno line 13. This line number is bogus. Line 13 is "}"; the actual error is on line 20. Corrupted line numbers make debugging runtime errors unnecessarily interesting.

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

Please report any issues with to