The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CGI::Bus::psp - Perl Script Processor CGI::Bus subobject

SYNOPSIS

 use CGI::Bus;
 $s =CGI::Bus->new();
 $s->psp->evalf(filename);

DESCRIPTION

Why? - It is very simple.

This module is a very simple and small HTML/Perl Script Processor CGI::Bus subobject. Formatted like ASP HTML file is converted to Perl subroutine and evaluated. HTML is converted to series of print calls. <% perl expr %> tags are converted to print(perl expr). <SCRIPT > tags are considered as Perl code. Script language attribute is observed.

See CGI::Bus::Base for inherited slots and methods.

SLOTS

    None

METHODS

eval (?-opt, perl text, ?filename,...) -> HTML page printed

Evaluate Perl text. 'e' option is to produce embeddable HTML without headers. Evaluation context is CGI::Bus::evalsub(application object, options string, filename,...)

evalf (?-opt, filename,...) -> HTML page printed

Evaluate HTML/Perl script file. Uses parse and eval.

parse (?-opt, html/perl text, ?filename,...) -> Perl text

Parse HTML/Perl script file to Perl text. 'e' option is to produce embeddable HTML without headers.

VERSION

15/10/2001 - 08/11/2001

New:

Implemented and Documented.

ToDo:

Perl code caching?

AUTHOR

Andrew V Makarow <makarow@mail.com>

3 POD Errors

The following errors were encountered while parsing the POD:

Around line 65:

You forgot a '=back' before '=head1'

Around line 69:

You forgot a '=back' before '=head2'

Around line 71:

'=item' outside of any '=over'