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
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
]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}
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 }
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
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 =