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

Changes for version 2.1.0

  • Added better UTF-8 support:
    • Output escaping now takes Perl's UTF-8 flags into account and will not escape UTF-8 chars anymore
    • Diretive Embperl_Output_Esc_Charset allows to generaly switch between Latin1, Latin2 and UTF-8. (For UTF-8 this is not necessary when Perl's UTF-8 Flag is correctly set, but this is not the case for all datasources)
    • Form data that is send to Embperl and put into %fdat get now Perl's internal UTF8 flags set, in case the data posted contains a valid UTF8 string. This can be disabled with the option optFormDataNoUtf8.
  • Added Module Embperl::Inline, which allows to embed Embperl code in an ordinary Perl module. This makes is easy to install system wide libraries, which need to contain Embperl code/markup. See perldoc Embperl::Inline
  • [$ sub $] now can takes arguments and inital code like:
    • $ sub foo ($self, $a, $b) my $c = $self -> {bar} $
  • Embperl subroutines are now called in array context, to allow to return multiple return values.
  • Added validate type TimeValue, which is a numeric value followed by s, m, h, d or w.
  • Added validate type PosInteger, which is a positiv integer value
  • Added Support for calling Embperl::Object::Execute inside an Embperl page. (Allow to nest new requests)
  • Corrected HTML/XML escaping inside from <textarea> tags.
  • Fixed Segfault that could occur when a Embperl sub does not contain anything.
  • Fixed compile problem with timezone on BSD systems
  • Fixed URLs in website to work correctly on static mirrors
  • Embperl development has been moved from CVS to SVN. See L<"SVN.pod"|SVN.pod> .

Documentation

Main features of Embperl 2.0
Introduction to Embperl
Introduction to EmbperlObject
SVN
Access to the Embperl SVN development tree
Embperl Tips and Tricks

Provides

in Embperl.pm
in Embperl/Constant.pm
in Embperl/Form/Validate/Default.pm
in Embperl/Form/Validate/EMail.pm
in Embperl/Form/Validate/EMailRFC.pm
in Embperl/Form/Validate/FQDN_IPAddr.pm
in Embperl/Form/Validate/IPAddr.pm
in Embperl/Form/Validate/IPAddr_Mask.pm
in Embperl/Form/Validate/Integer.pm
in Embperl/Form/Validate/Number.pm
in Embperl/Form/Validate/PosInteger.pm
in Embperl/Form/Validate/Select.pm
in Embperl/Form/Validate/TimeHHMM.pm
in Embperl/Form/Validate/TimeValue.pm
in Embperl/Form/Validate/TimeHHMMSS.pm
in Embperl/Log.pm
in Embperl/Out.pm
in xsbuilder/ParseSource.pm
in Embperl/Recipe/EmbperlLibXSLT.pm
in Embperl/Recipe/EmbperlPODXSLT.pm
in Embperl/Recipe/EmbperlXalanXSLT.pm
in Embperl/Recipe/LibXSLT.pm
in Embperl/Recipe/XalanXSLT.pm
in Embperl.pm
in Embperl/Run.pm
in Embperl/Syntax/Test.pm
in Embperl/Syntax/Test2.pm
in Embperl/Util.pm
in xsbuilder/WrapXS.pm
in Embperl.pm
in Embperl.pm
in test/html/subimp.pm

Examples