.pod Perl-Skript

Text & Quellcode

MIME-Typapplication/x-perl
BeschreibungPerl-Skript
KategorieText & Quellcode
Signatur (Magic Bytes)0A 3D 68 65 61 64 31 20 4E 41 4D 45 (.=head1 NAME)
0A 3D 70 6F 64 (.=pod)
42 45 47 49 4E 20 7B (BEGIN {)
Basiert aufapplication/x-executable, text/plain
Weitere Endungen.al, .perl, .pl, .pm, .t

Häufige Fragen

Was ist eine .pod-Datei?

Eine .pod-Datei ist ein Format vom Typ „Perl-Skript“ (MIME-Typ application/x-perl).

Womit öffne ich eine .pod-Datei?

Mit jedem Texteditor – etwa Notepad++, Visual Studio Code oder unter Linux gedit und vim. Die Datei enthält lesbaren Text, ggf. Quellcode oder Konfiguration.

Woran erkennt man eine echte .pod-Datei?

Am Dateianfang, der sogenannten Signatur (Magic Bytes): 0A 3D 68 65 61 64 31 20 4E 41 4D 45 (.=head1 NAME), 0A 3D 70 6F 64 (.=pod) und 42 45 47 49 4E 20 7B (BEGIN {). Unter Linux und macOS prüft file --mime-type example.pod den tatsächlichen Typ unabhängig von der Endung.

Auf welchem Format basiert .pod?

Technisch ist eine .pod-Datei ein Untertyp von „Ausführbare Datei“ (application/x-executable). Programme für dieses Grundformat können die Datei daher oft ebenfalls lesen.

Welcher MIME-Typ gehört zu .pod?

Der MIME-Typ ist application/x-perl. Im Apache-Webserver: AddType application/x-perl .pod; in nginx: types { application/x-perl pod; }.

Benachbarte Einträge