Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Embperl

Execute in a specified syntax?

 

 

ModPerl embperl RSS feed   Index | Next | Previous | View Threaded


mda at discerning

Apr 1, 2007, 11:24 PM

Post #1 of 2 (1099 views)
Permalink
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 [at] perl
For additional commands, e-mail: embperl-help [at] perl


richter at ecos

Apr 2, 2007, 7:02 AM

Post #2 of 2 (973 views)
Permalink
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 [at] perl
For additional commands, e-mail: embperl-help [at] perl

ModPerl embperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.