The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.4

  • Fixed documentation bugs
  • Fixed multiple includes bug
  • Fixed Petal::Parser::HTMLWrapper includes
  • Added tests
  • Added warning for Petal statements with missing '?'

Modules

Perl Template Attribute Language
Caches generated code on disk.
Caches generated subroutines in memory.
a class which builds a canonical XML file from a XML / HTML / whatever parser's events. The canonical file can then be sent to the Petal::CodeGenerator module.
Turns canonicalized XML files into Perl code.
Magical hash for Petal objects
A modifier that encodes hash values to HTML
A modifier that encodes hash values to XML
A modifier that evaluates the 'falseness' of an expression
A modifier that sets an expression within the template hash
A modifier that evaluates the 'trueness' of an expression
THE standard hash modifier, evaluates an expression and returns the result.