Peter Bosmans wrote:

> I was wondering if it is possible to execute perl-commands, from a html
> or txt file, from another perl-script.
> So i can write a generic perl-script which can read some ascii-documents
> and execute the perl commands that exist in that ascii-document (with a
> known pre- and postfix)
> So we can create html-docs like PHP. (Our intranet servers doesn't
> support PHP)

You need a callback templating system, like ePerl, HTML::Embperl,
HTML::Mason, Apache::ASP, Read "Choosing a Templating System":
http://www.perl.com/pub/a/2001/08/21/templating.html

See also:
http://www.engelschall.com/sw/eperl/
http://perl.apache.org/embperl/
http://www.masonhq.com/
http://www.apache-asp.org/

> <!-- Use this as prefix for the generic perl-script to say that all what
> is following is perl-code to execute
>
> perl-commands
>
> --> Use this as postfix for the generic perl-script to say the
> perl-script is done.

<!-- foo --> is already used for HTML comments.

- RaFaL Pocztarski, [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to