On 2020-08-31 18:54, William Michels via perl6-users wrote:
On Mon, Aug 31, 2020 at 6:07 PM ToddAndMargo via perl6-users
wrote:
On 2020-08-31 17:21, yary wrote:
First part of my previous email on this thread! Re-read this bit
First, you were looking at the docs for Path's "lines", but you a
On Mon, Aug 31, 2020 at 6:07 PM ToddAndMargo via perl6-users
wrote:
>
> On 2020-08-31 17:21, yary wrote:
> > First part of my previous email on this thread! Re-read this bit
> >
> >> First, you were looking at the docs for Path's "lines", but you are
> >> using a string "lines" and those docs say
On 2020-08-31 17:21, yary wrote:
First part of my previous email on this thread! Re-read this bit
First, you were looking at the docs for Path's "lines", but you are
using a string "lines" and those docs say
multi method lines(Str:D: $limit, :$chomp = True)
multi method lines(Str:D: :$chomp =
First part of my previous email on this thread! Re-read this bit
> First, you were looking at the docs for Path's "lines", but you are
> using a string "lines" and those docs say
>
> multi method lines(Str:D: $limit, :$chomp = True)
> multi method lines(Str:D: :$chomp = True)
>
> Files get "nl-in"
On 2020-08-30 08:42, yary wrote:
You were close!
First, you were looking at the docs for Path's "lines", but you are
using a string "lines" and those docs say
multi method lines(Str:D: $limit, :$chomp = True)
multi method lines(Str:D: :$chomp = True)
Files get "nl-in" due to the special case
$file.IO.lines( :nl-in(…), :chomp, … )
is actually short for
$file.IO.open( :nl-in(…), :chomp ).lines( … )
On Sun, Aug 30, 2020 at 10:43 AM yary wrote:
> You were close!
>
> First, you were looking at the docs for Path's "lines", but you are using
> a string "lines" and those docs say
You were close!
First, you were looking at the docs for Path's "lines", but you are using a
string "lines" and those docs say
multi method lines(Str:D: $limit, :$chomp = True)
multi method lines(Str:D: :$chomp = True)
Files get "nl-in" due to the special case of text files having various line
en
Hi All,
https://docs.raku.org/type/IO::Path#method_lines
method lines(IO::Path:D: :$chomp = True, :$enc = 'utf8', :$nl-in =
["\x0A", "\r\n"], |c --> Seq:D)
How do I change what lines sees as a new line. Is it
:$nl-in? A tab in this case.
Some of my missteps:
$ p6 'my $x="a\tb\tc\td\t"; dd