PlPN: Perl Scripting Plugin

Discussion Forums discussion PlPN: Perl Scripting Plugin

This topic contains 3 replies, has 4 voices, and was last updated by  Michael 2 years ago.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
March 12, 2012 at 11:43 am #7789


I have just released a beta version of a Perl scripting plugin. The files can be found here.

In accordance with the Perl motto (“There’s More Than One Way To Do It”), the plugin has a simple interface for registering scripts and events, but also allows script authors to create their own custom objects to do the job if they prefer.

The plugin comes with a help file available from Extensions|PlPN|Help, which should get you started.

In addition to the main project file, some example scripts are available for download, and so is the HTML documentation used to generate the CHM file.

I hope to implement the following features in future versions:

  • A macro recorder. (Most of the structure to allow one to be written in Perl is in place, but I still need to make some final tweaks, determine a good storage format, and then actually write the Perl code.)
  • Enhanced functionality for the Document object (in the form of wrappers around the SendEditorMessage function).
  • An installer file (currently it’s only available as a zipped archive).


Until now, only my eyes have seen it, so it needs some serious stress testing. While there is a good deal of XS glue, I have tried to keep most of the logic in Perl itself, so other Perl programmers can help find and fix bugs.

March 12, 2012 at 4:39 pm #18709


Excellent. I myself was thinking of making a JsPN using the V8 engine. I never can really find the time to play with it though.

I will try to take a look this week.

March 15, 2012 at 11:16 am #18710


Great job! :)

Just a suggestion: maybe name is PerlPN instead of PlPN?

(PlPN looks like PiPN, which pronounces like PyPN)

September 26, 2012 at 1:10 am #19261


Well, I can’t seem to figure out how to install the plugin — perhaps you can write a guide on that? I get cryptic error messages complaining about perl path but wouldn’t let me set it up after the first time it asked for it. Does it store the configuration settings somewhere outside the PN directory?

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.