BackPAN::Index::File 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::File(3User Contributed Perl DocumentatiBackPAN::Index::File(3)

NAME
       BackPAN::Index::File - Represent a file on BackPAN

SYNOPSIS
	 my $b = BackPAN::Index->new();
	 my $file = $b->file("authors/id/L/LB/LBROCARD/Acme-Colour-0.16.tar.gz");
	 print "  Date: " . $file->date . "\n";
	 print "  Path: " . $file->path . "\n";
	 print "  Size: " . $file->size . "\n";
	 print "   URL: " . $file->url . "\n";

DESCRIPTION
       BackPAN::Index::File objects represent files on BackPAN.	 It may
       represent a release, a readme or meta file or just some random stuff on
       BackPAN.

METHODS
   date
	   my $date = $file->date;

       Returns the upload date of the file, in UNIX epoch seconds.

   path
	   my $path = $file->path;

       Returns the full path to the file on CPAN.

   size
	   my $size = $file->size;

       Returns the size of the file in bytes.

   url
	   my $url = $file->url;

       Returns a URL to the file on a BackPAN mirror.

   filename
	   my $filename = $file->filename;

       Returns the filename part of the path.

   release
	   my $release = $file->release;

       Returns the release associated with this file, if any, as a
       BackPAN::Index::Release instance.

   as_hash
	   my $data = $file->as_hash;

       Returns a hash ref containing the data inside $file.

AUTHOR
       Leon Brocard <acme@astray.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::Release

perl v5.14.2			  2012-01-14	       BackPAN::Index::File(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