You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Willy Reinhardt <wr...@novell.com> on 2004/09/16 16:39:34 UTC

Rép. : Re: Rép. : Re: ScriptGenerator ho w to setup for Perl

Hi,
I found an implementation of Perl using BSF in
http://bsfperl.sourceforge.net/ 
But actualy I can't make it work :.(

Regards

Willy


>>> uv@upaya.co.uk 16/09/04 16:10 >>>
Fair enough. Thing is, I just can't imagine anyone writing a Java 
implementation of perl, which is what you'd need. Otherwise, you'd need 
a native interface to OS processes, which would in the end probably end 
up much like CGI/Perl approach. If you can use Python instead of Perl, 
then there's Jython. Otherwise, you're stuck with what you've got.

Regards, Upayavira

Willy Reinhardt wrote:

>Thanks Upayavira,
>This is my current solution but I was looking for a more portable
>solution because we are many developpers some use Weblogic others use
>JBoss with or without Apache in front and we have only one perl script
>so performance isn't an issue.
>
>Thanks and regards
>
>Willy
>  
>
>>>>uv@upaya.co.uk 16/09/04 14:42 >>>
>>>>        
>>>>
>I am unaware of a Java perl implementation.
>
>Your best bet if you must use Perl is to use proxying. Set up Apache 
>httpd to run your perl. Even configure Apache to only accept requests 
>from localhost. Then simply use the file generator:
>
><map:generate src="http://localhost/cgi-bin/test.pl"/>
>
>Regards, Upayavira
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org