# New Ticket Created by Rob Hoelz # Please include the string: [perl #125531] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=125531 >
If one performs a match in a context where $/ is readonly (ex. in a routine that's using $/ as a parameter, or a for loop using $/ as a block parameter, see attached file), one gets the LTA error message "Cannot assign to a readonly variable or a value". Since no explicit assignment is happening, this error message can be a little unclear.
test.p6
Description: Binary data