Subject: | Bug in load() function - $/ usage incorrect |
Currently: $/ = '';
Proposed: local $/;
Reason: Setting $/ to '' indicates that we should treat consecutive empty lines as a single newline. What is desired here is to "slurp" the entire file in, which is what the proposed solution does.