Pgreet::ExecEmbperl - Penguin Greetings wrapper for calls to Embperl


Pgreet documentation  | view source Contained in the Pgreet distribution.

Index


NAME

Top

Pgreet::ExecEmbperl - Penguin Greetings wrapper for calls to Embperl

SYNOPSIS

Top

  # Call Embperl without object-oriented features
  ExecEmbperl({inputfile => "/home/httpd/htdocs/pgreet/default.tpl.html",
               output => $result_string,
               param => [$Transfer]
              }
             );

  # Call Embperl with object-oriented features
  ExecObjEmbperl({inputfile => "/home/httpd/htdocs/pgreet/default.tpl.html",
                  output => $result_string,
                  param => [$Transfer]
                  object_addpath => "/home/httpd/htdocs/pgreet"
                  object_base => "pgreet_template.epl"
                  appname => "PgDefault"
                 }
                );

DESCRIPTION

Top

The module Pgreet::ExecEmbperl exists to wrap calls to the Embperl enviroment so that the Perl autouse pragma can be used to avoid loading Embperl until runtime. This is one half of the solution to avoid requiring Penguin Greetings users to load both Embperl and HTML::Mason when they might be using only one of the two environments. The only reason to use this module would be to replicate this use of the Perl pragma in some similar situation. Example calls are provided above and/or examine the use of this module in Pgreet::CGIUtils.

There is only a functional interface to these wrappers in order to support the manner in which the autouse pragma swaps in a module's procedures at runtime.

COPYRIGHT

Top

BUGS

Top

No known bugs at this time.

AUTHOR

Top

Edouard Lagache <pgreetdev@canebas.org>

VERSION

Top

1.0.0

SEE ALSO

Top

Pgreet, Pgreet::Config, Pgreet::Error, Pgreet::CGIUtils, Pgreet::ExecMason, CGI::Carp

1;


Pgreet documentation  | view source Contained in the Pgreet distribution.