Within the next two months the next generation (2.0) of Embperl will most likely be released. The current Beta release is 2.0b7, which is most likely stable enough for a production environment, the author uses it in production, but then again he can fix it if it breaks :). The focus of HTML::Embperl has always been on web applications and now with the release of 2.0 the ability to use Embperl outside of an HTML environment is finally achieved. Here is a quick run down of the new features available in 2.0
Most of this information is in the README.v2 that comes with the 2.0b7 module and is not in the main documenation. Some of it is also still "hidden" in the Changes.pod file.
  • Internationalisation (I18N) - You can create language files and set the language via an EMBPERL directive in the httpd.conf based on Location, Directory, Virtual host etc. This feature could also be handy even if you wanted to use it for just one language and have it act as a repository for various messages in your app.
  • Added form data validation. Embperl is now capable of server-side and client-side validation of form input. You just have to define a set of rules and Embperl generates the correct JavaScript code and does the validation when the form data is posted to the server. By writing or overriding class, the validatior could be extented. See Embperl::Form::Validate for details.

  • Those are just some of the high points. You can see my review of HTML::Embperl for some insight into why I like it and all the good features are carrying forward to Embperl.

    You can visit the Embperl site here.