MyCPAN::App::DPAN::CPANUtils - various things to interact with CPAN
use MyCPAN::App::DPAN::CPANUtils; MyCPAN::App::DPAN::CPANUtils->pull_latest_whois( $directory );
This is a base class for MyCPAN reporters. It mostly deals with file and directory names that it composes from configuration and run details. Most things should just use what is already there.
There is one abstract method that a subclass must implement on its own. The
get_report_file_extension methods allows each reporter to have a unique extension by which it can recognize its own reports.
Return a list of true CPAN mirrors so you can download canonical index files.
- pull_latest_whois( $directory )
Grab the latest canonical 01mailrc.txt.gz and 00whois.xml files and put them in
- make_fake_whois( $directory )
Create stub 01mailrc.txt.gz and 00whois.xml files and put them in
- make_fake_01mailrc( $directory )
Create a stub 01mailrc.txt.gz in
- make_fake_00whois( $directory )
Create a stub 00whois.xml in
Returns the filename for 01mailrc.txt.gz.
Returns the filename for 00whois.xml.
This code is in Github:
brian d foy,
Copyright © 2010-2018, brian d foy <firstname.lastname@example.org>. All rights reserved.
You may redistribute this under the terms of the Artistic License 2.0.