application/x-perl
Perl script
| Description | Perl script |
|---|---|
| File extensions | .al, .perl, .pl, .pm, .pod, .t |
| Aliases | text/x-perl |
| Based on | application/x-executable, text/plain |
| Signature (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 {) |
Frequently asked questions
What is the MIME type application/x-perl?
application/x-perl denotes “Perl script”.
Which file extension does application/x-perl use?
Files of type application/x-perl usually end in .al, .perl, .pl, .pm, .pod and .t.
How does a web server serve application/x-perl correctly?
With the header Content-Type: application/x-perl. In nginx: types { application/x-perl al perl pl pm; }; in Apache: AddType application/x-perl .al .perl .pl .pm.
Are there other names for application/x-perl?
Yes, text/x-perl are used as equivalents.