Package DE_EPAGES::Object::API::ObjectArray
Helper functions for processing large lists of objects without using up all available memory.
@EXPORT_OK |
Functions
ObjectArray
Creates a virtual array of objects baased on an array reference of object ids.
Syntax |
$aObjects = ObjectArray( $aObjectIDs ); |
Example |
my $aObjects = ObjectArray( $Parent->findChildren ); say $_->pathString foreach @$aObjects; |
Input |
|
Return |
|
ObjectIterator
Creates an iterator of objects from an array reference of object ids.
Syntax |
$Iterator = ObjectIterator( $aObjectIDs ); $Iterator = ObjectIterator( $aObjectIDs, $Handle ); |
Example |
my $Objects = ObjectIterator( $Parent->findChildren ); say $_->pathString while <$Objects>; |
Input |
|
Return |
|