debian man page for dist::metadata::dir

Query: dist::metadata::dir

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Dist::Metadata::Dir(3pm)				User Contributed Perl Documentation				  Dist::Metadata::Dir(3pm)

NAME
Dist::Metadata::Dir - Enable Dist::Metadata for a directory
VERSION
version 0.923
SYNOPSIS
my $dm = Dist::Metadata->new(dir => $path_to_dir);
DESCRIPTION
This is a subclass of Dist::Metadata::Dist to enable getting the dists metadata from a directory. This can be useful if you already have a dist extracted into a directory. It's probably not very useful on it's own though, and should be used from "new" in Dist::Metadata.
METHODS
new $dist = Dist::Metadata::Struct->new(dir => $path); Accepts a single 'dir' argument that should be a path to a directory. determine_name_and_version Attempts to parse name and version from directory name. dir Returns the "dir" attribute specified in the constructor. file_content Returns the content for the specified file. find_files Returns a list of the file names beneath the directory (relative to the directory). physical_directory Returns the "dir" attribute since this is already a directory containing the desired files.
AUTHOR
Randy Stauner <rwstauner@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Randy Stauner. 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-06-19 Dist::Metadata::Dir(3pm)
Related Man Pages
dist::zilla::plugin::git(3pm) - debian
dist::zilla::app::command::build(3pm) - debian
dist::zilla::app::command::new(3pm) - debian
dist::zilla::mvp::assembler::zilla(3pm) - debian
dist::zilla::plugin::metadata(3pm) - debian
Similar Topics in the Unix Linux Community
List file in Dir and then match
how to replace &quot;cd.h&quot; to &lt;cd.h&gt; in a dir
Dir permissions
DOS Dir - listing of full path and timestamp
Finding Files with Perl on a Hidden Dir?