Skip Menu |
Report information
Id: 132162
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: cpan [at] zoffix.com
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [LTA] error of trying to assign to read-only $/ should offer a solution
Download (untitled) / with headers
text/plain 356b
It's a pretty common error that a user tries to execute a regex inside of an Actions class and gets a confusing error: https://irclog.perlgeek.de/perl6/2017-09-25#i_15215293 I think it's possible to throw a typed Exception and in its message detect when the readonly item is the $/ variable and offer a useful suggestion about not naming method's param $/


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

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org