txt: ## filename-extensions.md
  Filename extensions
  
  The extensions recommended for files with Raku content.
  
  | File contents | Extension | Historic extensions |
  | --- | --- | --- |
  | Raku script | .raku | .pl, .p6 |
  | Raku module | .rakumod | .pm, .pm6 |
  | Raku documentation | .rakudoc | .pm, pm6, pod, pod6 |
  | Test files in raku | .rakutest | .t |
  | Not Quite Perl (NQP) | .nqp |  |
  
  Note that in most cases, the historic extensions will still work.
  
  # [Introduction](#Filename_extensions "go to top of document")[§](#Introduction "direct link")
  
  An extension is the part of the filename after the final '.'; if no '.' is present, there is no extension.
  
  Filename extensions can be used to associate behavior with the file content, such as opening a specialized reader or editor, running a program with the file content as input, etc. Even when it is not required by the operating system, filename extensions can provide a useful reminder about the contents of the file.
  
  # [History](#Filename_extensions "go to top of document")[§](#History "direct link")
  
  The Raku language was originally known as Perl 6, and this is reflected in the historic column above. Please use the current extensions whenever possible when generating new code.
  