Problem with relative path

2006-08-07 Thread Marek Matis
Hi, I have EmbPerl2.0r3, Apache2, mod_perl2 1.99 (Debian Sarge) /foo/index.epl: [-   open F, "/foo/example_file.txt";   # <-- THIS WORKING   open F, "./example_file.txt";  # <-- THIS NOT WORKING, WHY ? -] Thanks Marek

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 Marek Matis
]Hope this helps - obviosuly TMTOWTDI, but I try to avoid putting HTML in the perl sections.Michael On 8/18/06, Marek Matis <[EMAIL PROTECTED] > wrote: Hi, I have problem with Execute (EmbPerl2.0r3). [-@tmp = (1 .. 3);foreach $r (@tmp) {$fdat{'test_'.$r}

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-21 Thread Marek Matis
This not work too. [- @tmp = (1 .. 3); foreach $r (@tmp) { $fdat{'test_'.$r} = $r; $out = "\n"; Execute ({ input => \$out, inputfile => 'foo', mtime=> $r}); } -] Marek 2006/8/18, Ben K. <[EMAIL PROTECTED]>: > This is only demo example. > I need uses Execute in loo than

Re: Embperl2 and Execute

2006-08-22 Thread Marek Matis
I tried to do it in new version EmbPerl 2.2.0 but is doestnt work. Matis. 2.2.0 2006/8/21, Marek Matis <[EMAIL PROTECTED]>: This not work too. [- @tmp = (1 .. 3); foreach $r (@tmp) { $fdat{'test_'.$r} = $r; $out = "\n"; Execute ({ input =