Subject: | Documentation missing for list 'item' vmethod |
There's no documentation for the 'item' VMethod on lists, but it's
there. Attached is a patch for Template::Manual::VMethods.
Subject: | item_doc.patch |
--- VMethods.pod 2009-11-08 16:39:56.000000000 -0800
+++ VMethods.pod.new 2009-11-08 16:42:27.000000000 -0800
@@ -554,6 +554,12 @@
[% hash.1 %] # beer
[% hash.2 %] # peanuts
+=head2 item
+
+Returns an item from the list using an index passed as an argument.
+
+ [% list.item(0) %] # same as list.0
+
=head1 Automagic Promotion of Scalar to List for Virtual Methods
In addition to the scalar virtual methods listed in the previous