Hi All,

In the following:

   https://docs.raku.org/type/IO::Path#method_lines

   (IO::Path) method lines

   Defined as:

method lines(IO::Path:D: :$chomp = True, :$enc = 'utf8', :$nl-in = ["\x0A", "\r\n"], |c --> Seq:D)

   Opens the invocant and returns its lines.

   The behavior is equivalent to opening the file specified
   by the invocant, forwarding the :$chomp, :$enc,
   and :$nl-in arguments to IO::Handle.open, then calling
   IO::Handle.lines on that handle, forwarding any of the
   remaining arguments to that method, and returning the
   resultant Seq.

What exactly is and how exactly do you use `:$nl-in`

And if I am not pushing it, what is `|c`?

I am confused,
-T

Reply via email to