debian man page for dist::metadata::archive

Query: dist::metadata::archive

OS: debian

Section: 3pm

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

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

NAME
Dist::Metadata::Archive - Base class for Dist::Metadata archive files
VERSION
version 0.923
SYNOPSIS
my $dist = Dist::Metadata->new(file => $path_to_archive);
DESCRIPTION
This is a subclass of Dist::Metadata::Dist to enable determining the metadata from an archive file. It is a base class for archive file formats: o Dist::Metadata::Tar o Dist::Metadata::Zip It's not useful on it's own and should be used from "new" in Dist::Metadata.
METHODS
new $dist = Dist::Metadata::Archive->new(file => $path); Accepts a single "file" argument that should be a path to a file. If called from this base class "new()" will delegate to a subclass based on the filename and return a blessed instance of that subclass. archive Returns an object representing the archive file. default_file_spec Returns "Unix" since most archive files are be in unix format. determine_name_and_version Attempts to parse name and version from file name. file The "file" attribute passed to the constructor, used to load "archive". read_archive $dist->read_archive($file); Returns a format-specific object representing the specified file. This must be defined by subclasses.
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::Archive(3pm)
Related Man Pages
dist::metadata::archive(3pm) - debian
dist::metadata::dir(3pm) - debian
dist::zilla::app::command::build(3pm) - debian
dist::zilla::mvp::assembler::zilla(3pm) - debian
dist::zilla::plugin::run(3pm) - debian
Similar Topics in the Unix Linux Community
Archive files
Flash Archive Retrival Method
Perl script to Archive the data file after the load
Archive files which has more than one row
Archive old file