Re: Text to HTML recipe making

2006-03-25 Thread 'Kathryn Andersen'
On Tue, Dec 20, 2005 at 09:48:15PM +0100, Gerald Richter wrote: > The other one is to create a syntax module, which uses HTML::TextToHTML for > the actual work. > > To do so, just make a copy of Embperl/Syntax/Perl.pm, then in the call to > AddInitCode you would pass some code like: [snip] Well,

erratic effect of input key in Execute

2006-03-25 Thread PILCH Hartmut
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({input=>\$msg})

erratic effect of input key in Execute (more)

2006-03-25 Thread PILCH Hartmut
I am trying to move subroutines to external packages that are shared between Embperl applications and normal commandline Perl programs, but this requires that messages can be written either by a commandline program to STDERR or by Embperl to the web session, depending on the context of invocation.