Documentation for routine print-nl

Documentation for routine print-nl, assembled from the following types:

class Any

From Any

(Any) method print-nl

Defined As:

    method print-nl(--> TODO)

TODO

class IO::Handle

From IO::Handle

(IO::Handle) method print-nl

Defined as:

method print-nl(IO::Handle:D: --> True)

Writes the value of $.nl-out attribute into the handle.

my $fh = open 'path/to/file':wnl-out => "\r\n";
$fh.print("some text");
$fh.print-nl# prints \r\n 
$fh.close;