Skip Menu |

This queue is for tickets about the Devel-REPL CPAN distribution.

Report information
The Basics
Id: 71205
Status: resolved
Priority: 0/
Queue: Devel-REPL

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

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



Subject: Strange "no arguments" error with method signature modules
With #65726 fixed, I can now use method signatures in re.pl. Yay! This reveals a new bug. Boo! $ use MooseX::Method::Signatures; $ method empty {} No arguments! at /Users/schwern/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Devel/REPL/Plugin/DDS.pm line 17 Error! - Can't use string ("1") as an ARRAY ref while "strict refs" in use at /Users/schwern/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-thread-multi-2level/Data/Dump/Streamer.pm line 1423. The error does not effect the code, empty() is defined. I presume it's trying to display the return value of the "method empty {}" statement and being confused by some trick or another. This occurs with all the method signatures modules I tried: perl5i, MooseX::Method::Signatures and Method::Signatures.
This is actually an issue with returning nothing in general: $ () No arguments! at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Devel/REPL/Plugin/DDS.pm line 17 Error! - Can't use string ("1") as an ARRAY ref while "strict refs" in use at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Data/Dump/Streamer.pm line 1363. I have this fixed along with some other things at my github (http://github.com/doy/devel-repl - the fix for this issue in particular is 14f29f9). I didn't push it to the main repository because I wanted to discuss the changes with the other maintainers, but got distracted. People can feel free to pull whatever from there if they want to do another release.
Awesome, thanks for the investigation and patching. FWIW this isn't a high priority problem, I can happily wait for the next release cycle.
Just pushed a fix to the git repo. Only 2 years after the initial report :)
On Fri May 24 06:07:18 2013, ASH wrote: Show quoted text
> Just pushed a fix to the git repo. Only 2 years after the initial report :)
As commit 882e1d1.
thanks -- released in v1.003019!