Query: data::stream::bulk::callback
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Data::Stream::Bulk::Callback(3pm) User Contributed Perl Documentation Data::Stream::Bulk::Callback(3pm)NAMEData::Stream::Bulk::Callback - Callback based bulk iteratorVERSIONversion 0.11SYNOPSISData::Stream::Bulk::Callback->new( callback => sub { if ( @more_items = get_some() ) { return @more_items; } else { return; # done } }, }DESCRIPTIONThis class provides a callback based implementation of Data::Stream::Bulk.ATTRIBUTEScallback The subroutine that is called when more items are needed. Should return an array reference for the next block, or a false value if there is nothing left.METHODSget_more See Data::Stream::Bulk::DoneFlag. Reinvokes "callback".AUTHORYuval Kogman <nothingmuch@woobling.org>COPYRIGHT AND LICENSEThis software is copyright (c) 2012 by Yuval Kogman. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-02-14 Data::Stream::Bulk::Callback(3pm)