PM File Documentation
Overview
Feature | Value |
---|---|
File Extension | .pm |
Format Type | Text |
MIME Type | application/x-perl |
Primary Use | Perl Module (Library/Plugin) |
Encoding | ASCII or UTF-8 |
File Structure | Modular/Package-based |
Namespace Convention | Package Name::Submodule |
Package Definition Keyword | package |
Common Functions Definition Keyword | sub |
Invocation Method | Use or Require |
Versioning Keyword | our $VERSION |
Exporting Mechanism | Exporter Module |
Common Directories | @INC directories |
Comment Syntax | # (hash for single line comments) |
Variable Declaration Keywords | my, our, local |
Object-oriented Support | Yes, using bless |
Error Handling | die, warn |
File Include Keyword | use and require |
Regular Expression Support | Native |
Perl Version Compatibility | 5.x and later |
Debugging Keyword | use diagnostics; |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.