If you are simply looking for SC to run a PERL script, it is easy.
example: PRE_APP_QUIESCE_CMD01=perl /scripts/myperlscript.pl
You may use sh, ksh, bash etc as well with CMD01, CMD02 syntax.
If you are asking about a custom APP that you put together as a perl module, then you can use the below example.
Example: YOURPLUGIN.pm
- scAgentX.X.X/plugins/YOURPLUGIN/YOURPLUGIN.pm
- scServerX.X.X/plugins/ YOURPLUGIN/YOURPLUGIN.pm
The plug-in will be loaded in Snap Creator with the APP_NAME parameter, in this case APP_NAME=YOURPLUGIN
###########
You will need to restart the scAgent after placing the YOURPLUGIN.pm file.
(Example: for POSTRGRES, you download the plugin from repository and place them under corresponding locations as mentioned above).
Please let me know if you have questions.