I thnk some of the confusion may be from this section:
To run the active document as a Perl script, you'll need to add a new program, as follows:
.
What this should say is that "You'll need to
add a Tool to TextPad to run the perl program. Read "How to customize settings: the Tools menu" in TextPad's online help file.
From the Main Menu, click on Configure, Preferences.
Click on Tools, Add, Program. Browse to C:\Perl\bin\Perl.exe (or whatever path is appropriate)
Finish with the correct values, details in first reply are good:
Command: C:\Perl\bin\Perl.exe Parameters: $File
Initial folder: $FileDir
Capture output: checked, only if your scripts do not read from stdin.
After Tool is created, make a Document Class for Perl
From the Main Menu, click on Configure, Make Document Class. Enter "Perl" (without the quotes) for the document class name.
Enter *.pl for the Class members
Select the syntax for the Perl class
After Document Class is created, open Document classes and modify as needed.
After Document Class is created, make a File Name Filter for Perl.
Add Perl (*.pl) as a filter with *.pl as the extension to filter.