FreeBSD.software
Home/www/p5-Template-Iterator-AlzaboWrapperCursor

p5-Template-Iterator-AlzaboWrapperCursor

0.01_1

Turns a Class-AlzaboWrapper-Cursor object into a TT2 iterator

This module allows a Class::AlzaboWrapper::Cursor object to be used as a TT2 iterator. For a cursor which returns one object at a time, the iterator simply returns one object per iteration. When the cursor returns multiple objects, the iterator returns a hash reference where the keys are the table name of the object's class in lower-case, with camel-casing turned into underscores. The values of the hash are the objects. So if the cursor returns Foo::User and Foo::Page objects, the keys are "user" and "page".

Origin: www/p5-Template-Iterator-AlzaboWrapperCursor
Category: www
Size: 12.6KiB
License: ART10, GPLv1+
Maintainer: bofh@FreeBSD.org
Dependencies: 3 packages
Required by: 0 packages
$pkg install p5-Template-Iterator-AlzaboWrapperCursor

Dependencies (3)

More in www