Home
:
Documentation
:
1.3.6 documentation
:
HTML::Embperl
Web
perl.apache.org
Home
Features
Introduction
Documentation
README
README.v2
Configuration
Embperl
Embperl::Object
Embperl::Form::Validate
Embperl::Syntax
Embperl::Recipe
Embperl::Mail
1.3.6 documentation
HTML::Embperl
HTML::EmbperlObject
HTML::Embperl::Mail
HTML::Embperl::Session
Tips & Tricks
FAQ
DBIx::Recordset
Installation
Download
Support
Changes
Wiki
More infos
Add info about Embperl
Login
Stable 2.4.0
Beta 2.5.0_3
Support the development of Embperl!
More...
Content - HTML::Embperl - Building dynamic Websites with Perl
[ Next: DESCRIPTION >> ]
DESCRIPTION
Operating-Modes
Runtime configuration
SYNTAX
Variable scope and cleanup
Predefined variables
Session handling
(Safe-)Namespaces and opcode restrictions
Utility Functions
Input/Output Functions
Inside Embperl - How the embedded Perl code is actually processed
Performance
Bugs
Compatibility
Support
References
Syntaxmodes for various editors
Author
See Also
DESCRIPTION
Operating-Modes
Offline
As a CGI script
From mod_perl (Apache httpd)
By calling HTML::Embperl::Execute (\%param)
Helper functions for Execute
EXAMPLES for Execute:
Runtime configuration
EMBPERL_FILESMATCH
EMBPERL_ALLOW (only 1.2b10 and above)
EMBPERL_PATH (1.3b6 and above)
EMBPERL_COMPARTMENT
EMBPERL_ESCMODE
EMBPERL_LOG
EMBPERL_PACKAGE
EMBPERL_VIRTLOG
EMBPERL_OPTIONS
EMBPERL_DEBUG
EMBPERL_INPUT_FUNC
EMBPERL_OUTPUT_FUNC
EMBPERL_MAILHOST
EMBPERL_MAILHELO
EMBPERL_MAILFROM
EMBPERL_MAILDEBUG
EMBPERL_MAIL_ERRORS_TO
EMBPERL_COOKIE_NAME
EMBPERL_COOKIE_DOMAIN
EMBPERL_COOKIE_PATH
EMBPERL_COOKIE_EXPIRES
EMBPERL_SESSION_CLASSES
EMBPERL_SESSION_ARGS
EMBPERL_SESSION_HANDLER_CLASS (1.3b3 and higher)
SYNTAX
[+ Perl code +]
[- Perl code -]
[! Perl Code !]
[* Perl code *]
[# Some Text #] (Comments)
[$ Cmd Arg $] (Meta-Commands)
HTML Tags
Variable scope and cleanup
Predefined variables
%ENV
%fdat
@ffld
%idat
%udat (only 1.2b1 or higher)
%mdat (only 1.2b2 or higher)
$row, $col
$maxrow, $maxcol
$cnt
$tabmode
$escmode
$req_rec
LOG
OUT
@param
%http_headers_out (only 1.2b10 and above)
$optXXX $dbgXXX
%CLEANUP
%CLEANUPFILE (1.2b6+)
Session handling
Functions/Methods for session handling
HTML::Embperl::Req::SetupSession ($req_rec, $Inputfile) [1.3b6+]
HTML::Embperl::Req::GetSession / $r -> GetSession [1.3b6+]
HTML::Embperl::Req::CleanupSession / $r -> CleanupSession [1.3b6+]
HTML::Embperl::Req::DeleteSession / $r -> DeleteSession [1.3b6+]
HTML::Embperl::Req::RefreshSession / $r -> RefreshSession [1.3b6+]
HTML::Embperl::Req::SetSessionCookie / $r -> SetSessionCookie [1.3b7+]
(Safe-)Namespaces and opcode restrictions
Utility Functions
AddCompartment($Name)
MailFormTo($MailTo, $Subject, $ReturnField)
exit
Input/Output Functions
ProxyInput ($r, $in, $mtime, $src, $dest)
LogOutput ($r, $out, $basepath)
Inside Embperl - How the embedded Perl code is actually processed
1. Remove the HTML tags. Now it looks like
2. Translate HTML escapes to ASCII characters
3. Remove all carriage returns
4. Eval perl code into a subroutine
5. Call the subroutine
6. Escape special characters in the return value
7. Send the return value as output to the destination (browser/file)
Performance
Bugs
Compatibility
on Linux 2.x with
on Windows NT/2000 with
on Windows 95/98 with
Support
Feedback and Bug Reports
Commerical Support
How to Support the Developement of Embperl
References
Information
Download
CVS
Syntaxmodes for various editors
Emacs
VIM
Dreamweaver
Author
See Also
[ Next: DESCRIPTION >> ]
© 1997-2012 Gerald Richter /
ecos gmbh