Description
Perl applications can identify file types through a reusable File::Type interface. This helps tools choose handlers for uploads, attachments, generated files, or user-selected documents.
It is a file classification library. File-type detection is not proof that content is safe, so applications should still validate and sandbox risky file handling.