Template::Alloy::VMethod

Template::Alloy::VMethod is a Perl module with VMethod role.
Download

Template::Alloy::VMethod Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Paul Seamons
  • Publisher web site:
  • http://search.cpan.org/~rhandom/

Template::Alloy::VMethod Tags


Template::Alloy::VMethod Description

Template::Alloy::VMethod is a Perl module with VMethod role. Template::Alloy::VMethod is a Perl module with VMethod role.The Template::Alloy::VMethod role provides all of the extra vmethods, filters, and virtual objects that add to the base featureset of Template::Alloy. Most of the vmethods listed here are similar to those provided by Template::Toolkit. We will try to keep Template::Alloy's in sync. Template::Alloy also provides several extra methods that are needed for HTML::Template::Expr support.ROLE METHODSdefine_vmethodDefines a vmethod. See Template::Alloy for more details.vmethod_*Methods by these names implement virtual methods that are more complex than oneliners. These methods are not exposed via the role.filter_*Methods by these names implement filters that are more complex than one liners. These methods are not exposed via the role.VIRTUAL METHOD LISTThe following is the list of builtin virtual methods and filters that can be called on each type of data.In Template::Alloy, the "|" operator can be used to call virtual methods just the same way that the "." operator can. The main difference between the two is that on access to hashrefs or objects, the "|" means to always call the virtual method or filter rather than looking in the hashref for a key by that name, or trying to call that method on the object. This is similar to how TT3 will function.Virtual methods are also made available via Virtual Objects which are discussed in a later section. Requirements: · Perl


Template::Alloy::VMethod Related Software