On Sun, Oct 14, 2018 at 10:23 AM ToddAndMargo via perl6-users <perl6-users@perl.org <mailto:perl6-users@perl.org>> wrote:

    Hi All,

    Over on

    https://docs.perl6.org/routine/slurp

          # read entire file as Latin1 Str
          my $text_contents   = slurp "path/to/file", enc => "latin1";

    Where is the list of my options for "enc"?

    Many thanks,
    -T


On 10/14/18 4:37 AM, Ralph Mellor wrote:
https://docs.perl6.org/routine/encoding


Hi Ralph,

Perfect!  I love it!  Thank you!

Just posted:

RFE: place link to |c (encoding) on slurp page
https://github.com/perl6/doc/issues/2385

-T

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • enc ? ToddAndMargo via perl6-users
    • Re: enc ? Ralph Mellor
      • Re: enc ? ToddAndMargo via perl6-users

Reply via email to