Hi,
>
> I have just installed apache 2.2.3 with Embperl 2.2.0 on OS
> X 10.4, corrected the issues which fellow users have had and
> got it to compile. Now none of the httpd.conf parameters
> get used.
Did you get any error message when you start the httpd?
Does make test succeed?
Geral
Hi, I have problem with Execute (EmbPerl2.0r3). [-@tmp = (1 .. 3);foreach $r (@tmp) {$fdat{'test_'.$r} = $r;$out = "\n";
Execute ({ input => \$out });}-]Output is:
I need this:
Thanks Marek
Hi Marek,I'd suggest something a bit more like this (it's untested but hopefully you get the idea):[- @tmp=(1..3) -][$ foreach $r (@tmp) $]
[$ endforeach $]Hope this helps - obviosuly TMTOWTDI, but I try to avoid putting HTML in the perl sections.MichaelOn 8/18/06, Marek Matis
<[EMAIL PROTECTED]>
This is only demo example.I need uses Execute in loo than how Embperl 1.3. 2006/8/18, Michael Smith <[EMAIL PROTECTED]>:
Hi Marek,I'd suggest something a bit more like this (it's untested but hopefully you get the idea):[- @tmp=(1..3) -][$ foreach $r (@tmp) $]
[$ endforeach $]Hope this helps - obv
>
> [-
> @tmp = (1 .. 3);
>
> foreach $r (@tmp) {
>
> $fdat{'test_'.$r} = $r;
> $out = "\n"; Execute ({
> input => \$out }); } -]
>
Try
$out = "\n"; Execute ({
input => \$out, inputfile => 'foo', mtime => undef }); } -]
This should tell Embperl not to cache the input code, i.e. to recompil
Not work. Embperl always cache the input code. 2006/8/18, Gerald Richter <[EMAIL PROTECTED]>:
>> [-> @tmp = (1 .. 3);>> foreach $r (@tmp) {>> $fdat{'test_'.$r} = $r;> $out = "\n"; Execute ({> input => \$out }); } -]
>Try$out = "\n"; Execute ({input => \$out, inputfile => 'foo', mtime => undef }
>
> Not work. Embperl always cache the input code.
>
Mmmh, if you use
mtime => $dummy++
So mtime change everytime?
Gerald
>
>
> 2006/8/18, Gerald Richter <[EMAIL PROTECTED]>:
>
> >
> > [-
> > @tmp = (1 .. 3);
> >
> > foreach $r (@tmp) {
> >
> >
This is only demo example.
I need uses Execute in loo than how Embperl 1.3.
I show the same symptom...
If situations allow will this be a workaround?
[-
@tmp = (1 .. 3);
foreach $r (@tmp) {
$fdat{'test_'.$r} = $r;
$out .= "\n";
}
Execute ({ input => \$out });
-]
Regards,
Be