data::stream::bulk::doneflag(3pm) [debian man page]
Data::Stream::Bulk::DoneFlag(3pm) User Contributed Perl Documentation Data::Stream::Bulk::DoneFlag(3pm)NAME
Data::Stream::Bulk::DoneFlag - Implement the "is_done" method in terms of a flag
VERSION
version 0.11
SYNOPSIS
package Data::Stream::Bulk::Blah;
use Moose;
with qw(Data::Stream::Bulk::DoneFlag);
sub get_more {
if ( my @more = more() ) {
return @more;
} else {
return;
}
}
DESCRIPTION
This role implements the "Data::Stream::Bulk" core API in terms of one method ("get_more").
As a convenience it calls "finished" when the stream is exhausted, so that cleanup may be done.
This is used by classes like Data::Stream::Bulk::DBI, Data::Stream::Bulk::Callback.
METHODS
is_done
Returns the state of the iterator.
next
As long as the iterator is not yet done, calls "get_more".
If "get_more" returned a false value instead of an array reference then "done" is set, "finished" is called, and this "next" does
nothing on subsequent calls.
finished
A noop by default. Can be overridden if so desired.
REQUIRED_METHODS
get_more
Returns the next block of data as an array ref, or a false value if no items are left.
AUTHOR
Yuval Kogman <nothingmuch@woobling.org>
COPYRIGHT AND LICENSE
This 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::DoneFlag(3pm)
Check Out this Related Man Page
Data::Stream::Bulk::Path::Class(3pm) User Contributed Perl Documentation Data::Stream::Bulk::Path::Class(3pm)NAME
Data::Stream::Bulk::Path::Class - Path::Class::Dir traversal
VERSION
version 0.11
SYNOPSIS
use Data::Stream::Bulk::Path::Class;
my $dir = Data::Stream::Bulk::Path::Class->new(
dir => Path::Class::Dir->new( ... ),
);
DESCRIPTION
This stream produces depth or breadth first traversal order recursion through Path::Class::Dir objects.
Items are read iteratively, and a stack of open directory handles is used to keep track of state.
ATTRIBUTES
chunk_size
Defaults to 250.
depth_first
Chooses between depth first and breadth first traversal order.
only_files
If true only Path::Class::File items will be returned in the output streams (no directories).
METHODS
is_done
Returns true when no more files are left to iterate.
next
Returns the next chunk of Path::Class objects
AUTHOR
Yuval Kogman <nothingmuch@woobling.org>
COPYRIGHT AND LICENSE
This 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::Path::Class(3pm)
Is there any possibility that a Stream Read and Write queues will interchange messages of any kind. If so what are the different possiblites and under what circumstances ?
Thanks in advance. (4 Replies)
Hi All,
I am trying to read data from two files and then compare them and only print the records on the screen that have a same ID.i.e TAGNO =CUSTOMERNO
For Eg
My Input Files are (a) Transaction (b) Customer detail
The data in file a is like:
TagNo Date Time Station... (0 Replies)
Hi, I'm a new member here. Can anyone tell me what DDF(Data Definition File) is? Could you give me a brief example of DDF file? and how is it implemented in C?
Any suggestion wil be appreciated. Thank's :) (4 Replies)
Please Help me
I have a Bulk file containing Hex data
I want to read specific lines from that bulk file by ID number.
example
ID DATE Time data
14 2005/09/28 07:40:08.546 0 5 078B1C 01916C 0FE59C 004B54 0A9670 0D04ED 05B6B4 0E2223... (10 Replies)
Hello, i should finished this program, if anyone could tell me whats wrong... This is an optional university work, though i cant leave this nearly finished. I need to see where is my error :(
What my program should do.
The user must type "num_proc" ( number of children). The program creates a... (4 Replies)
After allocating memory for some variables, segfault is often to happen, due to the same reason: Address 0x1cd00000103 out of bounds
It is welcome to recommend some treatments. Thanks
e.g.
is_done = 0x1cd00000103 <Address 0x1cd00000103 out of bounds>,
hood = 0x23c00000247,
c =... (11 Replies)
Under smit, one has to manually select each fix with F7. there 9000 fixes left to be marked. How Can I manually install/Mark all of these without SMIT.
---------- Post updated at 02:29 PM ---------- Previous update was at 01:15 PM ----------
From the command line
instfix -T -d... (4 Replies)
I'm trying to write a script that can compile my students' homework submissions in bulk. My students' c code is buried in a file path that looks like this:
./Homework\ X/Doe, John/Submission\ Attachments
Where I'm struggling is determining how to navigate to each of the submission attachment... (11 Replies)
Hi All, :D
Actullay I am looking for a smart way :b: to parse files in a directory whose count is around 2000000 :eek: in a single day.
Find is working with me but taking a lot of times :confused:, sometimes even a day which is not helping me.:wall:
So anyone can help me know a smart... (5 Replies)