[Templates-cvs] cvs commit: Template2/docsrc/lib/dir use
cvs@template-toolkit.org
cvs@template-toolkit.org
cvs 06/01/30 09:56:26
Modified: docsrc/lib/dir use
Log:
* updated docs to reflect case insensitivity of standard plugins
Revision Changes Path
1.2 +5 -4 Template2/docsrc/lib/dir/use
Index: use
===================================================================
RCS file: /template-toolkit/Template2/docsrc/lib/dir/use,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- use 2001/03/27 11:15:00 1.1
+++ use 2006/01/30 09:56:25 1.2
@@ -18,12 +18,13 @@
[% USE MyPlugin %] # => Template::Plugin::MyPlugin
[% USE Foo.Bar %] # => Template::Plugin::Foo::Bar
-Various standard plugins are included with the Template Toolkit (see
-below and L<Template::Manual::Plugins>). These can be specified in lower
-case and are mapped to the appropriate name.
+Various standard plugins are included with the Template Toolkit (see
+below and L<Template::Manual::Plugins>). The names of these standard
+plugins are case insensitive.
+ [% USE CGI %] # => Template::Plugin::CGI
+ [% USE Cgi %] # => Template::Plugin::CGI
[% USE cgi %] # => Template::Plugin::CGI
- [% USE table %] # => Template::Plugin::Table
Any additional parameters supplied in parenthesis after the plugin
name will be also be passed to the new() constructor. A reference to