Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

data::stream::bulk::util(3pm) [debian man page]

Data::Stream::Bulk::Util(3pm)				User Contributed Perl Documentation			     Data::Stream::Bulk::Util(3pm)

NAME
Data::Stream::Bulk::Util - Utility functions for Data::Stream::Bulk VERSION
version 0.11 SYNOPSIS
use Data::Stream::Bulk::Util qw(array); use namespace::clean; # Wrap a list in L<Data::Stream::Bulk::Array> return bulk(qw(foo bar gorch baz)); # return an empty resultset return nil(); DESCRIPTION
This module exports convenience functions for use with Data::Stream::Bulk. EXPORTS
Sub::Exporter is used to create the "import" routine, and all of its aliasing/currying goodness is of course supported. nil Creates a new Data::Stream::Bulk::Nil object. Takes no arguments. bulk @items Creates a new Data::Stream::Bulk::Array wrapping @items. cat @streams Concatenate several streams together. Returns "nil" if no arguments are provided. filter { ... } $stream Calls "filter" on $stream with the provided filter. unique $stream Filter the stream to remove duplicates. Note that memory use may potentially scale to O(k) where k is the number of distinct items, because this is implemented in terms of a seen hash. In the future this will be optimized to be iterative for sorted streams. References are keyed by their refaddr (see "id" in Hash::Util::FieldHash). 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::Util(3pm)

Check Out this Related 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)
Man Page

11 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

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

3. 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

4. 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

5. Shell Programming and Scripting

How to add the contents of a file?

Hi I have a file named Data cat Data 1797548295 2420652689 513068908 1426750759 3229436285 2710691077 i want to sum all these lines, can we use any direct command for that in unix. Thanks in advance.:b: (7 Replies)
Discussion started by: Prateek007
7 Replies

6. 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

7. 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

8. SCO

Printer is winning the battle! (for now)

All, Q: how would I add some escape codes to an interface that i have setup t print.? Goal: to switch from NLQ to Util modes. back and forth. Scenerio: SCO OS 5.05 PRINTER: OKI Data 320 or similar. printer is called "test" What I have done thus far. (just cannot get their) I can from a... (6 Replies)
Discussion started by: TheSniper
6 Replies

9. Programming

C Data Structure to represent a Sparse Array

Which data structure will be most appropriate to represent a sparse array? (1 Reply)
Discussion started by: rupeshkp728
1 Replies

10. Shell Programming and Scripting

Bulk find in UNIX at unknown dir location

Dear All, I have a file which is having a number my_file.csv 032001031 100509001 203001165 there are many more about 5000. I have a path in unix /my_path/my_loc/DEV/RPD10/CPD25/WFM/RK_WFM/OUT/*/ where i will have a file like CPD25_203001165.pdf CPD25_100509001.pdf... (4 Replies)
Discussion started by: yadavricky
4 Replies

11. 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