txt: ## catdir.md
  catdir
  
  Combined from primary sources listed below.
  
  # [In IO::Spec::Cygwin](#___top "go to top of document")[§](#(IO::Spec::Cygwin)_method_catdir "direct link")
  
  See primary documentation
  [in context](/type/IO/Spec/Cygwin#method_catdir)
  for **method catdir**.
  
  ```raku
  method catdir (*@parts --> Str:D)
  ```
  
  Concatenates multiple path fragments and returns the canonical representation of the resultant path as a string. The `@parts` are [`Str`](/type/Str) objects and are allowed to contain path separators.
  
  ```raku
  IO::Spec::Cygwin.catdir(<foo/bar ber raku>).say;
  # OUTPUT: «foo/bar/ber/raku␤»
  ```
  
  # [In IO::Spec::Unix](#___top "go to top of document")[§](#(IO::Spec::Unix)_method_catdir "direct link")
  
  See primary documentation
  [in context](/type/IO/Spec/Unix#method_catdir)
  for **method catdir**.
  
  ```raku
  method catdir (*@parts --> Str:D)
  ```
  
  Concatenates multiple path fragments and returns the canonical representation of the resultant path as a string. The `@parts` are [`Str`](/type/Str) objects and are allowed to contain path separators.
  
  ```raku
  IO::Spec::Unix.catdir(<foo/bar ber raku>).say; # OUTPUT: «foo/bar/ber/raku␤»
  ```
  
  # [In IO::Spec::Win32](#___top "go to top of document")[§](#(IO::Spec::Win32)_method_catdir "direct link")
  
  See primary documentation
  [in context](/type/IO/Spec/Win32#method_catdir)
  for **method catdir**.
  
  ```raku
  method catdir (*@parts --> Str:D)
  ```
  
  Concatenates multiple path fragments and returns the canonical representation of the resultant path as a string. The `@parts` are [`Str`](/type/Str) objects and are allowed to contain path separators.
  
  ```raku
  IO::Spec::Win32.catdir(<foo/bar ber raku>).say;
  # OUTPUT: «foo\bar\ber\raku␤»
  ```
  