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::Filter(3pm) User Contributed Perl Documentation Data::Stream::Bulk::Filter(3pm)NAME
Data::Stream::Bulk::Filter - Streamed filtering (block oriented)
VERSION
version 0.11
SYNOPSIS
use Data::Stream::Bulk::Filter;
Data::Stream::Bulk::Filter->new(
filter => sub { ... },
stream => $stream,
);
DESCRIPTION
This class implements filtering of streams.
ATTRIBUTES
filter
The code reference to apply to each block.
The block is passed to the filter both in $_ and as the first argument.
The return value should be an array reference. If no true value is returned the output stream does not end, but instead an empty block
is substituted (the parent stream controls when the stream is depleted).
stream
The stream to be filtered
METHODS
is_done
loaded
Delegated to "stream"
next
Calls "next" on "stream" and applies "filter" if a block was returned.
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::Filter(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)