Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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)
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Stream Read And Write Queues

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)
Discussion started by: S.P.Prasad
4 Replies

2. Programming

File I/O Stream

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)
Discussion started by: rooh
0 Replies

3. Programming

Could anyone help me?

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)
Discussion started by: qqq
4 Replies

4. Programming

How to read specific lines in a bulk file using C file Programming

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)
Discussion started by: rajan_ka1
10 Replies

5. Programming

Father & children

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)
Discussion started by: Jariya
4 Replies

6. UNIX for Advanced & Expert Users

Advanced I/O

What is Stream Devices and Stream pipes? Explain Advanced I/O ? (1 Reply)
Discussion started by: thangappan
1 Replies

7. Programming

how to avoid the segfault from Address 0x1cd00000103 out of bounds

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)
Discussion started by: cdbug
11 Replies

8. AIX

Bulk Fixes Selection

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)
Discussion started by: mrmurdock
4 Replies

9. Shell Programming and Scripting

Need Help writing Bulk-Compiling Script

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)
Discussion started by: GingerGiant
11 Replies

10. Shell Programming and Scripting

Parsing Bulk Data

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)
Discussion started by: jojo123
5 Replies