data::stream::bulk::path::class(3pm) [debian 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)
Check Out this Related 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)
Can anyone help me with this i'm not sure what the answers are.
Q1 If "." is not in the PATH, what does it mean?
1. The current directory is not readable.
2. The current directory is readable but not executable.
3. Executable programs cannot be scattered everywhere - they must be in a... (9 Replies)
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, 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)
Hi there.
I wonder if anybody can help me. I am very new to this and a bit out of my depth.
I have a .cmd file which sets various environmental variables for me.
When I input a server name that does not contains dots (.) in the name it works fine. As soon as I place in a server name... (5 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)
Hello all,
I have a question. I need to get some information on files in a directory and all sub directories. I need the following information on every file.
Name
Path
Size in bytes
File Type
I have managed to get the first three but cant find out how to get file type.
Any ideas?
... (5 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)
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)
Hi guys,
In Windows, whenever I want a execute a program using just a relative path on the command prompt, I simply edit the 'Path' variable and append my parent directory.
Is there something like this available in Unix? I have a binary for Virtualbox called VBoxManage that I want to execute... (6 Replies)
Hello Gurus,
I have a file this
Dir Path 1
Connection pool="somename"; "DataSource Name"="DS name"; Password="pwd"; User Id="uid";some other fields
Dir Path2
Password="pwd2"; User id="uid2"; Connection pool="somename2"; "datasource name"="DS name2";some other fields.
Under each dir... (14 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)
I want to change the name of several files within a folders (directory) and subdirectories in OS X. If I only wanted to change file names within the directory I guess I would use:
rm photo*.jpg picture*.jpg
I have lots of subdirectories, is there a way of getting the file changes for all... (5 Replies)
Greetings!
Been a while since I futzed around with Perl, and came upon a minor headscratcher for the community ;)
Here's the basic code which I'm trying to make tick over:#!/usr/bin/perl
use strict;
use warnings;
use diagnostics;
print " starting ";
while (-e "~/.somedir/testFile")... (9 Replies)