Mailing List Archive

Execute in a specified syntax?
Is there a simpler way of specifying that I'd like
a particular file Execute'd in a particular syntax,
than this ugly thing:

[$ syntax SSI $]
<!--#include virtual="includes/header.shtml"-->
[$ syntax Embperl $]

Something like:

[- Execute syntax="SSI" ('includes/header.shtml') -]

perhaps?

Also, what has to be done to get embpcgi.pl to report
something more useful than just $rc and time?

-mda

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Execute in a specified syntax? [ In reply to ]
>
> Something like:
>
> [- Execute syntax="SSI" ('includes/header.shtml') -]
>
> perhaps?
>

Use

[- Execute ({ syntax => "SSI", inputfile => 'includes/header.shtml'}) -]

> Also, what has to be done to get embpcgi.pl to report
> something more useful than just $rc and time?

You might use the errors => parameter to get more informations and
display it

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org