Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement &EVAL/&EVALFILE with Bufs per S29; ilmari++
Closes RT#122256: https://rt.perl.org/Ticket/Display.html?id=122256 - Make EVALFILE slurp in binary and let EVAL handle encodings - Implement EVAL(Blob), decoding the same way source file would be read by $lang (per S29) - For Perl 6: use value of `--encoding` command line arg or utf8 - For Perl 5: decode in utf-c8 and let perl handle the rest. Appears to produce the same output as running the code with perl directly. ilmari++ for pointers on how perl does this
- Loading branch information
1 parent
c732212
commit 6c928d6
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters