NAME
Template::Plugin::ListUtil::VMethods - list util functions as vmethods
SYNOPSIS
[% USE ListUtil.VMethods %]
Then you can use any of the ListUtil methods as vmethods
[% big = array.largest %]
DESCRIPTION
When this plugin/module is loaded it installs all the functions that are normally avalible thought the Template::Plugin::ListUtil plugin as VMethods that can be called directly on a list.
All vmethods act exactly the same as the original functions do; They all return values rather than modifiying the original list.
This module installs the vmethods when you load it and removes the vmethods when you exit that template. This means that all templates that are INCLUDEed from that template will have access to the vmethods too.
You can perminatly install the vmethods by loading it from Perl space with the 'install' option. This will enable the vmethods for all