Feature Overview for the PerlPad application
You can execute Perl code from almost all Mac OS X applications
using the System Services facility.
In any editable text area, just type some Perl code, highlight it
and press Cmd-Shift-E to evaluate it. It will be replaced with the
result of that expression.
It also works the other way round: select some text and have it
processed by any Perl function you can dream up by pressing Cmd-Shift-R (as is process).
User-defined Add-on Services
You can also turn your favorite Perl one-liners into System Services
using PerlPad Add-on Services. This does not require any Cocoa
programming. Basically, you just have to type your Perl snippet
and optionally choose a keyboard shortcut.
Work with the Pasteboard
System Services are not the only way to get work done with PerlPad
(there is, after all, more than one way to do it).
It can also make use of the pasteboard: Copy some text in application A, tell PerlPad to process that text and paste the result into application B. This can be conveniently done with PerlPad's dock menu.