Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mousex::types::path::class(3pm) [debian man page]

MouseX::Types::Path::Class(3pm) 			User Contributed Perl Documentation			   MouseX::Types::Path::Class(3pm)

NAME
MouseX::Types::Path::Class - A Path::Class type library for Mouse SYNOPSIS
CLASS TYPES package MyApp; use Mouse; use MouseX::Types::Path::Class; has 'dir' => ( is => 'ro', isa => 'Path::Class::Dir', required => 1, coerce => 1, ); has 'file' => ( is => 'ro', isa => 'Path::Class::File', required => 1, coerce => 1, ); CUSTOM TYPES package MyApp; use Mouse; use MouseX::Types::Path::Class qw(Dir File); has 'dir' => ( is => 'ro', isa => Dir, required => 1, coerce => 1, ); has 'file' => ( is => 'ro', isa => File, required => 1, coerce => 1, ); DESCRIPTION
MouseX::Types::Path::Class creates common Mouse types, coercions and option specifications useful for dealing with Path::Class objects as Mouse attributes. Coercions (see Mouse::Util::TypeConstraints) are made from both "Str" and "ArrayRef" to both Path::Class::Dir and Path::Class::File objects. If you have MouseX::Getopt installed, the Getopt option type ("=s") will be added for both Path::Class::Dir and Path::Class::File. TYPES
Dir A Path::Class::Dir class type. Coerces from "Str" and "ArrayRef" via "new" in Path::Class::Dir. File A Path::Class::File class type. Coerces from "Str" and "ArrayRef" via "new" in Path::Class::File. AUTHOR
NAKAGAWA Masaki <masaki@cpan.org> THANKS TO
"AUTHOR" in MooseX::Types::Path::Class LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
Mouse, MouseX::Types, Path::Class, MooseX::Types::Path::Class perl v5.14.2 2012-04-01 MouseX::Types::Path::Class(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

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

File and Dir permissions

I would like to configure my SuSE 7.0 workstation more securely. I have attempted for about two weeks to find a guideline on good practices for the file and directory permissions.........but to no avail. Does anyone have a guideline that I could use to help me out. I realize that the distros are... (11 Replies)
Discussion started by: thomas.jones
11 Replies

2. HP-UX

Using Secure Path

I am fairly new to HP-UX, so I am not very skilled yet. I am trying to make use of Secure Path. The only documentation I have found on the HP web site shows me how to install it and release notes. I have not found any information on how to actually use it for the SAN storage I have presented. ... (2 Replies)
Discussion started by: KEnglander
2 Replies

3. UNIX for Dummies Questions & Answers

Unix LS Command

Guys, A quick question.. I am tasked with Outputing a Long Dir and Sub Dir with atleast 10 Levels Deep with the Name of Directory, and path and the Chmod (77x) in an excel spreadsheet. I don't want to do it manually. I know i can get the listing with ls -R command. for all the files... (2 Replies)
Discussion started by: gwadhwani
2 Replies

4. Shell Programming and Scripting

Path Environment Variable

Hi..... I'm kind of new to c programming in Unix...need help here. Supposed to write a source code to support Path environment variable for my programming assignment for Spring semester. but i'm kind of stuck. Could anyone out there assist me? prompt> /bin/ls My program could output... (3 Replies)
Discussion started by: tancy
3 Replies

5. UNIX for Dummies Questions & Answers

Path to become a linux geek...

(5 Replies)
Discussion started by: slurp
5 Replies

6. Shell Programming and Scripting

How To Replace A String In File With A String Containing Windows File Path

Hi, I have a file with the following contents # Lines that start with a # are comments. # # Calling TOAD like this will perform a comparison from command line : # # "C:\Program Files\Quest Software\Toad for Oracle 9.6\toad.exe" -c... (2 Replies)
Discussion started by: rajan_san
2 Replies

7. Shell Programming and Scripting

Unix File Permissions

I want to change one of my Dir permissions to drwx--S--- Can you tell me which number i have to use. Thanks in Advance (4 Replies)
Discussion started by: veeru
4 Replies

8. Shell Programming and Scripting

Unix Shell Script to loop over Directory and send Filesname as parameters

Hi there I'm new to UNIX scripting; I’m stuck with the following I have an Oracle SQL script that takes three parameters 1- File Name 2- File Path 3- File creation date Under UNIX I have a folder where files will be placed frequently and I need to upload those files to Oracle, what I need... (3 Replies)
Discussion started by: windjashi
3 Replies

9. UNIX for Dummies Questions & Answers

Creating a File system with required permissions for all DIR's created in

Hello All, I am application admin. I need to clear all the temporary files cleared by the applications. I need help/suggestion that is there any way to create a file system such that every Dir created in by any user will have 775 permissions. So, that i can simply clear the temporary file which... (6 Replies)
Discussion started by: firestar
6 Replies

10. UNIX for Dummies Questions & Answers

Help with ls command

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

11. UNIX for Dummies Questions & Answers

How to get the current directory Path?

How to get the current directory Path in your prompt? i am getting a $ mark only in my prompt? Please help me with this (3 Replies)
Discussion started by: Abhishek0683
3 Replies

12. UNIX for Dummies Questions & Answers

Grep From Files and Display the File Name

Their are lot of files under the dir prod. I would like to get the file name which contain the word hello. File name firstprog.txt Dir structure : t01/Admin/prod I am using the below and does not work /t01/Admin# grep -l hello /t01/Admin/* ( I am in the Admin dir and grep) ... (6 Replies)
Discussion started by: ITDev01
6 Replies

13. Shell Programming and Scripting

Print between multiple patterns

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)
Discussion started by: sirababu
14 Replies

14. Shell Programming and Scripting

Grep File Full Path in a file

Hi, I would like to know how to grep all the paths in a file having extension .BMP For e.g. File Name : sample.txt File Content : xxxxxxxxxxxxxxxxx xxxxx/root/cdrive/picure.BMP xxxx xxxxxxxxxxx xxxxx/root/ddrive/picure.BMP xxxx xxxxxxxxxxx Expected Output : ... (4 Replies)
Discussion started by: vdivb
4 Replies

15. Shell Programming and Scripting

Replace file name from Other File

Hi All, I have Dir which have 2-3 file and i want to change name of the file base on other text file. Dir : home/XXX/ 201.log 203.log 301.log CR.txt have Below Data 201 ABC1 203 XYZ2 301 PQR3 Not it Want to Change File Name:- home/XXX/ ABC1.log XYZ2.log PQR3.log (2 Replies)
Discussion started by: pareshkp
2 Replies