Skip Menu |

This queue is for tickets about the App-xml_grep2 CPAN distribution.

Report information
The Basics
Id: 133473
Status: new
Priority: 0/
Queue: App-xml_grep2

People
Owner: Nobody in particular
Requestors: rrt [...] sc3d.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.14
Fixed in: (no value)



Subject: Harmless but incorrect code
In line 80 of version 0.14: local undef $/ has the effect of undefining $/ globally. Here, it doesn't matter, but it should be: local $/; undef $/; It was slightly harmful to me, because I grepped my ~/.local/bin to remind myself of the idiom! Thanks for xml_grep2!
Show quoted text
> local $/; undef $/;
Or better: local $/ = undef;