perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: apache/1.3.6 to lighttpd/2.2.0 issues
Date Mon, 24 Apr 2006 18:51:48 GMT
> 
> I'm moving things around, and since I'm doing that anyway, I 
> decided to move to 2.2.0. Now I'm seeing something rather unexpected:
> 
> Here's my epl file (I used the example from:
> http://perl.apache.org/embperl/pod/doc/Embperl.-page-3-.htm#sect_2)
> 
> - @arr = (1, 3, 5) -]
> [$ foreach $v @arr $]

Needs to be 

[$ foreach $v (@arr) $]

See http://perl.apache.org/embperl/pod/doc/README.v2.txt for what has
changed from 1.3 to 2.x

> 
> I'm running this with cgi with lighttpd. Since I couldn't get 
> anythign at all working with embpcgi.pl, I removed the line 
> causing embpexec.pl to die if used as CGI script, and all 
> other aspects of it appear to be fine. I did that approach 
> because I don't know if there's an apache/lighttpd difference 
> in how the scripts are called. Btw, if I can get this 
> working, I'd be happy to write up how to use this with lighttpd.
> 

I never have used lighttpd, so I don't know the difference. The difference
between the two scripts is maninly how they get passed the filename.

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message