The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CPAN::Distribution::ReleaseHistory::Release - A container for release data

VERSION

version 0.002003

SYNOPSIS

This is mostly a work-a-like for CPAN::Latest::ReleaseHistory::Release, except without the dependency on MetaCPAN::Client

  my $release = $releaseiterator->next_release;

  print $release->distname();                   # Dist-Zilla
  print $release->path();                       # R/RJ/RJBS/Dist-Zilla-1.000.tar.gz
  print scalar gmtime $release->timestamp();    # Timestamp is Unixtime.
  print $release->size();                       # 30470 ( bytes )
  my $distinfo = $release->distinfo();          # CPAN::DistInfo object

ATTRIBUTES

distname

The name of the distribution.

  e.g: Dist-Zilla

path

The path to the distribution relative to a CPAN mirror.

  e.g: R/RJ/RJBS/Dist-Zilla-1.000.tar.gz

timestamp

The time of the release in unixtime

size

The size of the release in bytes

distinfo

A CPAN::DistnameInfo object for this release.

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Kent Fredric <kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.