"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

File Extensions

PL and PM File Formats

SUMMARY: A brief explanation of Perl scripts found in .PL and .PM files.

The PL file extension often refers to scripts of applications written in the Perl programming language. Perl scripts are used on many websites to handle interactive feautres such as search engines, polls and surveys, order purchasing, and more.

PL scripts are written in plain-text and as such can be viewed in text editors such as Windows Notepad. However, they may contain a fair share of slashes, apostrophes, quotes, and other symbols, making it even difficult for other Perl programmers to read a piece of code.

Here is an example Perl program that displays "Hello, world!" on the screen:


print "Hello, world!\n";

The Perl interpreter is available for a multitude of computing platforms.

You may also notice files with the PM extension near other files with a PL extension. Files with a PM extension are called "Perl modules" and are usually components of a larger Perl application.

NOTE that unless you have configured your computer with the file extension viewing tweak, it is possible that a filename that looks like it ends with ".pl" or ".pm", especially one attached to an e-mail message, actually has a hidden OTHER extension, meaning that if you double-click the file, it may actually run a computer virus!

Return to the File Extensions page.

Print this tip

Get the Newsletter

blog comments powered by Disqus

Thanks For Sharing!

Newest Tips:

Buying a Digital Camera
[MODIFIED] Hidden Costs with Higher Megapixel Cameras
Windows 8
Resize Start Screen Tiles
Internet Explorer 11
Change the Default Search Provider to Google, Yahoo!, or Something Else
[MODIFIED] Disable Most Recently Used Files and Folders for Privacy

Follow Us!

About MalekTips and the Author

The MalekTips website was created in 1998 by Andrew Malek of Envision Programming. The page's goal is to freely disperse computer-related tips, hints, and informative articles. Tips are organized to be easy to find, and are presented clearly, in easy-to-understand language. MalekTips also provides information and links to public-domain, open source, freeware, shareware, and commercial software available for download.