From d529da257d3c7521369f34dd30eff1593d0b7738 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Tue, 23 Sep 2008 21:32:40 +0000 Subject: [PATCH] improve documentation of lineage iterator --- lib/WebGUI/AssetLineage.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/WebGUI/AssetLineage.pm b/lib/WebGUI/AssetLineage.pm index ec1c7446e..49fb38063 100644 --- a/lib/WebGUI/AssetLineage.pm +++ b/lib/WebGUI/AssetLineage.pm @@ -390,7 +390,8 @@ sub getLineage { Takes the same parameters as getLineage, but instead of returning a list it returns an iterator. Calling the iterator will return instantiated assets, -or undef when there are no more assets available. +or undef when there are no more assets available. The iterator is just a sub +ref, call like $asset = $iterator->() =cut