App-CPAN-Mini-Visit

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN

      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this

META.json  view on Meta::CPAN

         }
      },
      "runtime" : {
         "requires" : {
            "Archive::Extract" : "0.28",
            "CPAN::Mini" : "0.572",
            "Exception::Class::TryCatch" : "1.12",
            "File::Basename" : "0",
            "File::Find" : "0",
            "File::pushd" : "0",
            "Getopt::Lucid" : "0.16",
            "Path::Class" : "0",
            "Pod::Usage" : "1.35",
            "perl" : "5.006",
            "strict" : "0",
            "warnings" : "0"
         }
      },
      "test" : {
         "recommends" : {
            "CPAN::Meta" : "0",

META.yml  view on Meta::CPAN

  App::CPAN::Mini::Visit:
    file: lib/App/CPAN/Mini/Visit.pm
    version: '0.008'
requires:
  Archive::Extract: '0.28'
  CPAN::Mini: '0.572'
  Exception::Class::TryCatch: '1.12'
  File::Basename: '0'
  File::Find: '0'
  File::pushd: '0'
  Getopt::Lucid: '0.16'
  Path::Class: '0'
  Pod::Usage: '1.35'
  perl: '5.006'
  strict: '0'
  warnings: '0'
resources:
  bugtracker: https://github.com/dagolden/App-CPAN-Mini-Visit/issues
  homepage: https://github.com/dagolden/App-CPAN-Mini-Visit
  repository: https://github.com/dagolden/App-CPAN-Mini-Visit.git
version: '0.008'

Makefile.PL  view on Meta::CPAN

  ],
  "LICENSE" => "apache",
  "NAME" => "App::CPAN::Mini::Visit",
  "PREREQ_PM" => {
    "Archive::Extract" => "0.28",
    "CPAN::Mini" => "0.572",
    "Exception::Class::TryCatch" => "1.12",
    "File::Basename" => 0,
    "File::Find" => 0,
    "File::pushd" => 0,
    "Getopt::Lucid" => "0.16",
    "Path::Class" => 0,
    "Pod::Usage" => "1.35",
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "CPAN::Checksums" => 0,
    "ExtUtils::MakeMaker" => 0,
    "File::Spec::Functions" => 0,
    "File::Temp" => "0.20",

Makefile.PL  view on Meta::CPAN

  "Archive::Extract" => "0.28",
  "CPAN::Checksums" => 0,
  "CPAN::Mini" => "0.572",
  "Exception::Class::TryCatch" => "1.12",
  "ExtUtils::MakeMaker" => 0,
  "File::Basename" => 0,
  "File::Find" => 0,
  "File::Spec::Functions" => 0,
  "File::Temp" => "0.20",
  "File::pushd" => 0,
  "Getopt::Lucid" => "0.16",
  "IO::CaptureOutput" => "1.0801",
  "IO::File" => 0,
  "List::Util" => 0,
  "Path::Class" => 0,
  "Pod::Usage" => "1.35",
  "Test::More" => "0.62",
  "strict" => 0,
  "version" => 0,
  "warnings" => 0
);

Todo  view on Meta::CPAN

#--------------------------------------------------------------------------#
# TODO for App-CPAN-Mini-Visit
#--------------------------------------------------------------------------#

- Decide on usage.  E.g.
  
  $ visitcpan [OPTIONS] program

  $ visitcpan [OPTIONS] -- program program-opts

- Filtering
  - -f "regex" matched against AUTHOR/DistName-version.suffix

- automate perl -e or -E

cpanfile  view on Meta::CPAN

requires "Archive::Extract" => "0.28";
requires "CPAN::Mini" => "0.572";
requires "Exception::Class::TryCatch" => "1.12";
requires "File::Basename" => "0";
requires "File::Find" => "0";
requires "File::pushd" => "0";
requires "Getopt::Lucid" => "0.16";
requires "Path::Class" => "0";
requires "Pod::Usage" => "1.35";
requires "perl" => "5.006";
requires "strict" => "0";
requires "warnings" => "0";

on 'test' => sub {
  requires "CPAN::Checksums" => "0";
  requires "ExtUtils::MakeMaker" => "0";
  requires "File::Spec::Functions" => "0";

lib/App/CPAN/Mini/Visit.pm  view on Meta::CPAN

package App::CPAN::Mini::Visit;
# ABSTRACT: explore each distribution in a minicpan repository
our $VERSION = '0.008'; # VERSION

use CPAN::Mini 0.572 ();
use Exception::Class::TryCatch 1.12 qw/ try catch /;
use File::Basename qw/ basename /;
use File::Find qw/ find /;
use File::pushd qw/ tempd /;
use Path::Class qw/ dir file /;
use Getopt::Lucid 0.16 qw/ :all /;
use Pod::Usage 1.35 qw/ pod2usage /;

use Archive::Extract 0.28 ();

my @option_spec = (
    Switch("help|h"), Switch("version|V"),
    Switch("quiet|q"), Param( "append|a", qr/(?:^$|(?:^path|dist$))/ )->default(''),
    Param("e|E"),      Param("minicpan|m"),
    Param("output|o"),
);

sub run {
    my ( $self, @args ) = @_;

    # get command line options
    my $opt = try eval { Getopt::Lucid->getopt( \@option_spec, \@args ) };
    for (catch) {
        if ( $_->isa('Getopt::Lucid::Exception::ARGV') ) {
            print "$_\n";
            # usage stuff
            return 1;
        }
        else {
            die $_;
        }
    }

    # handle "help" and "version" options

t/00-report-prereqs.t  view on Meta::CPAN

                                    }
                    },
       'runtime' => {
                      'requires' => {
                                      'Archive::Extract' => '0.28',
                                      'CPAN::Mini' => '0.572',
                                      'Exception::Class::TryCatch' => '1.12',
                                      'File::Basename' => '0',
                                      'File::Find' => '0',
                                      'File::pushd' => '0',
                                      'Getopt::Lucid' => '0.16',
                                      'Path::Class' => '0',
                                      'Pod::Usage' => '1.35',
                                      'perl' => '5.006',
                                      'strict' => '0',
                                      'warnings' => '0'
                                    }
                    },
       'test' => {
                   'recommends' => {
                                     'CPAN::Meta' => '0',



( run in 2.223 seconds using v1.01-cache-2.11-cpan-de7293f3b23 )