RE: Not recognising httpd.conf params

2006-08-18 Thread Gerald Richter
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

Embperl2 and Execute

2006-08-18 Thread Marek Matis
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  

Re: Embperl2 and Execute

2006-08-18 Thread Michael Smith
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]>

Re: Embperl2 and Execute

2006-08-18 Thread Marek Matis
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

RE: Embperl2 and Execute

2006-08-18 Thread Gerald Richter
> > [- > @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

Re: Embperl2 and Execute

2006-08-18 Thread Marek Matis
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 }

RE: Embperl2 and Execute

2006-08-18 Thread Gerald Richter
> > 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) { > > > >

Re: Embperl2 and Execute

2006-08-18 Thread Ben K.
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