develooper Front page | perl.perl6.users | Postings from October 2018

enc ?

Thread Next
From:
ToddAndMargo via perl6-users
Date:
October 14, 2018 09:23
Subject:
enc ?
Message ID:
9fffe360-6c1c-ca9d-60a9-834d41e483fe@zoho.com
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

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About