txt: ## nl-out.md
  nl-out
  
  Combined from primary sources listed below.
  
  # [In IO::Handle](#___top "go to top of document")[§](#(IO::Handle)_method_nl-out "direct link")
  
  See primary documentation
  [in context](/type/IO/Handle#method_nl-out)
  for **method nl-out**.
  
  ```raku
  has Str:D $.nl-out is rw = "\n";
  ```
  
  One of the attributes that can be set via `.new` or [open](/routine/open). Defaults to `"\n"`. Takes a [`Str`](/type/Str) specifying output line ending for this handle, to be used by methods [`.put`](/type/IO/Handle#method_put) and [`.say`](/type/IO/Handle#method_say).
  
  ```raku
  with 'test'.IO {
      given .open: :w {
          .put: 42;
          .nl-out = 'foo';
          .put: 42;
          .close;
      }
      .slurp.raku.say; # OUTPUT: «"42\n42foo"␤»
  }
  
  ```
  
  # [In Any](#___top "go to top of document")[§](#(Any)_method_nl-out "direct link")
  
  See primary documentation
  [in context](/type/Any#method_nl-out)
  for **method nl-out**.
  
  ```raku
  method nl-out(--> Str)
  ```
  
  Returns [`Str`](/type/Str) with the value of "\n". See [`IO::Handle.nl-out`](/type/IO/Handle#method_nl-out) for the details.
  
  ```raku
  Num.nl-out.print;     # OUTPUT: «␤»
  Whatever.nl-out.print;# OUTPUT: «␤»
  33.nl-out.print;      # OUTPUT: «␤»
  ```
  