Re: Syntax=perl problem

2005-06-03 Thread allen haim
Thanks -- that should work. Now, I'm having more problems. I would like to call a CGI script, and have %udat be available to it. I thought the way to do that was: Embperl::Req::SetupSession($req_rec); Execute({subreq => '/cgi-perl/env_test.pl?param1=...¶m2=...'}); and then in thescript.pl I wou

RE: Syntax=perl problem

2005-06-03 Thread Gerald Richter
> --- > /usr/local/apache2/cgi-perl/warreng/header_test.pl: > > #!/usr/bin/perl > print 'allen'; Should be print OUT 'allen' ; Or you have to put a select(OUT) ; At the top of your script. > > Finally, I added the line: > > select((select(STDOUT), $| = 1)[0]); > > in h

Re: Syntax=perl problem

2005-06-02 Thread allen haim
Almost -- except that I want it to run under Embperl, so that I can access %udat from within header_test.pl. On Thu, Jun 02, 2005 at 05:36:07PM -0700, Daniel wrote: > Not having done this, I'm not too sure, but can't you just do: > > my @out = qx(/usr/local/apache2/cgi-perl/warreng/header_test.pl

Re: Syntax=perl problem

2005-06-02 Thread Daniel
Not having done this, I'm not too sure, but can't you just do: my @out = qx(/usr/local/apache2/cgi-perl/warreng/header_test.pl); ? On Thu, Jun 02, 2005 at 05:01:15PM -0700, allen haim wrote: > Hi, > > Could someone please help with this Syntax=Perl problem? > > --- > /note