GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ITERATOR::FILE::SOURCE::INTERFACE (3)

.ds Aq ’

NAME

Iterator::File::Source::Interface -- Interface for Iterator::File data sources

CONTENTS

DESCRIPTION

All data sources should subclass Iterator::File::Source::Interface & implement the methods defined here.

Iterator::File::Source::Interface inherits from Iterator::File::Utility.
<B>new(%config)B> Construct the object. Argument validation. Default assignment.
<B>B>initialize()<B>B> Any heavy lifting should occur here. E.g., opening a file or shared memory segment.
<B>B>next()<B>B> Advance the iterator & return the new value.
<B>B>value()<B>B> Return the current value, without advancing.
<B>advance_to( B>$location<B> )B> Advance the iterator to $location. If $location is <B>behindB> the current location, behavior is undefined. (I.e., don’t do that.)
<B>B>finish()<B>B> Invoked when all is complete so that cleanup may occur.

SEE ALSO

Iterator::File

AUTHOR

William Reardon, <wdr1@pobox.com>

COPYRIGHT AND LICENSE

Copyright (C) 2008 by William Reardon

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 ITERATOR::FILE::SOURCE::INTERFACE (3) 2008-06-11

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.