Haven’t done Perl scripts myself, however…
Are you saying it doesn’t work because it doesn’t return anything? If you just start a program on the Server, how is the Server supposed to know it needs to output things to the HTTP application?
Domino supports Perl scripts and CGI programs. You need to put your Perl scripts that end in .pl in the cgi-bin directory. Domino expects the Perl interpreter (named PERL.EXE) in the PATH environment variable.
To run CGI programs you need to specify the URL to something like this.
I’m guessing for perl scripts you’ll use the .pl file instead of the .exe file. Incorporate it with $$Return field and you have some powerful tools. I hope that gives you some ideas.