RE: erratic effect of input key in Execute

2006-03-27 Thread Gerald Richter
> > > I now tried various definitions, such as > > > > > > sub say { > > local $msg = shift; > > Embperl::Execute({input=>\$msg, inputfile=>$msg}); > > } > > [...] > > > and am still getting always the same string printed out. > > No, it does seem to be working for me now, than

Re: erratic effect of input key in Execute

2006-03-27 Thread PILCH Hartmut
> I now tried various definitions, such as > > > sub say { > local $msg = shift; > Embperl::Execute({input=>\$msg, inputfile=>$msg}); > } [...] > and am still getting always the same string printed out. No, it does seem to be working for me now, thanks. The latest failure w

Re: erratic effect of input key in Execute

2006-03-27 Thread PILCH Hartmut
On Mon, Mar 27, 2006 at 08:52:03PM +0200, Gerald Richter wrote: > > At > > > > http://www.ecos.de/embperl/pod/doc/Config.-page-1-.htm#sect_3 > > > > I find the following example of how to invoke the Embperl > > parser from a Perl program, and indeed I can make this work > > in a simple scri

RE: erratic effect of input key in Execute

2006-03-27 Thread Gerald Richter
> At > > http://www.ecos.de/embperl/pod/doc/Config.-page-1-.htm#sect_3 > > I find the following example of how to invoke the Embperl > parser from a Perl program, and indeed I can make this work > in a simple script, like > >[- $msg = 'hello world' -] >[- Embperl::Execute