BackPAN::Index::Release man page on Pidora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Pidora logo
[printable version]

BackPAN::Index::ReleasUser Contributed Perl DocumentBackPAN::Index::Release(3)

NAME
       BackPAN::Index::Release - A single release of a distribution

SYNOPSIS
	 my $b = BackPAN::Index->new();

	 # Find version 1.2.3 of Acme-Colour
	 my $release = $b->release("Acme-Colour", '1.2.3');

	 print "   CPANID: " . $release->cpanid . "\n";
	 print "     Date: " . $release->date . "\n";
	 print "     Dist: " . $release->dist . "\n";
	 print "Distvname: " . $release->distvname . "\n";
	 print " Filename: " . $release->filename . "\n";
	 print " Maturity: " . $release->maturity . "\n";
	 print "     Path: " . $release->path . "\n";
	 print "  Version: " . $release->version . "\n";

DESCRIPTION
       BackPAN::Index::Release objects represent releases, individual
       tarballs/zip files, of a distribution on BackPAN.

       For example, Acme-Pony-1.2.3.tar.gz is a release of the Acme-Pony
       distribution.

METHODS
   cpanid
	   my $cpanid = $release->cpanid;

       Returns the PAUSE ID of the author of the release.

   date
	   my $date = $release->date;

       Returns the date of the release, in UNIX epoch seconds.

   dist
	   my $dist_name = $release->dist;

       Returns the name of the distribution this release belongs to.

   distvname
	   my $distvname = $release->distvname;

       Returns the name of the distribution, hyphen, and version.

   filename
	   my $filename = $release->filename;

       Returns the filename of the release, just the file part.

   maturity
	   my $maturity = $release->maturity;

       Returns the maturity of the release.

   path
	   my $path = $release->path;

       Returns the full path on CPAN to the release.  This is a BackPAN::File
       object.

   version
	   my $version = $release->version;

       Returns the version of the release:

   as_hash
	   my $data = $release->as_hash;

       Returns a hash ref containing the data inside $release.

AUTHOR
       Leon Brocard <acme@astray.com> and Michael G Schwern
       <schwern@pobox.com>

COPYRIGHT
       Copyright (C) 2005-2009, Leon Brocard

       This module is free software; you can redistribute it or modify it
       under the same terms as Perl itself.

SEE ALSO
       BackPAN::Index, BackPAN::Index::Dist, BackPAN::Index::File

perl v5.14.2			  2012-01-14	    BackPAN::Index::Release(3)
[top]

List of man pages available for Pidora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net