CPAN

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

lib/CPAN/API/HOWTO.pod
lib/CPAN/Author.pm
lib/CPAN/Bundle.pm
lib/CPAN/CacheMgr.pm
lib/CPAN/Complete.pm
lib/CPAN/Debug.pm
lib/CPAN/DeferredCode.pm
lib/CPAN/Distribution.pm
lib/CPAN/Distroprefs.pm
lib/CPAN/Distrostatus.pm
lib/CPAN/Exception/blocked_urllist.pm
lib/CPAN/Exception/RecursiveDependency.pm
lib/CPAN/Exception/yaml_not_installed.pm
lib/CPAN/Exception/yaml_process_error.pm
lib/CPAN/FirstTime.pm
lib/CPAN/FTP.pm
lib/CPAN/FTP/netrc.pm
lib/CPAN/HandleConfig.pm
lib/CPAN/HTTP/Client.pm
lib/CPAN/HTTP/Credentials.pm
lib/CPAN/Index.pm

SIGNATURE  view on Meta::CPAN

SHA256 1f6fd480e7f77d86f44b291309998c8496edc86280be55e2c7069891acfbbc54 lib/CPAN/Author.pm
SHA256 47ab7088f37fdeb167c49dfd818794d945848a8282981746cfb2bd8922b8341c lib/CPAN/Bundle.pm
SHA256 ad42d5bf390265b596d521bc99eb96f3fd7e8ea01161d0e29ee3a9fe5a3a5f74 lib/CPAN/CacheMgr.pm
SHA256 ab8091fdb2d81f5f1a522282eed8d83477cae8ed11640404f788036104052c66 lib/CPAN/Complete.pm
SHA256 f5f0bcfa2b6b35276a5db8605def82775be8957f43a7a997b32b873ea5281875 lib/CPAN/Debug.pm
SHA256 543ea23c897acb50709feb425135fc294a93dff277b3b4939b7cd6e717b62ac3 lib/CPAN/DeferredCode.pm
SHA256 4ecb5ffeaae51cbf53d5f3db353fbb0f5dcc0f8fc190cca4a0f5d711b3711d9f lib/CPAN/Distribution.pm
SHA256 3943b549eee64fdcee6de7e58d253d4a0234cadc94e2f2c6f7e240e509744030 lib/CPAN/Distroprefs.pm
SHA256 ed9eaceebf8def9baefbbeb6d4f165a64693815d0b723b38bb59ccd5905829a5 lib/CPAN/Distrostatus.pm
SHA256 8dc6b62ea58f6868fcf8541bb42dfeb9f11b25ddd6397d4ba4cd2cacb5ba8ae7 lib/CPAN/Exception/RecursiveDependency.pm
SHA256 276eef2b0bf9d5c996e60d476c4616aca7004470342da23f75e807b3e12fb15c lib/CPAN/Exception/blocked_urllist.pm
SHA256 73199e060d130a0d9a006ae3ac9545e2c51b2f8f21382453cd151fc5fb6786fe lib/CPAN/Exception/yaml_not_installed.pm
SHA256 11003c540e557f9234e6ee32a886ca764cd0e5d39cbb4efa487cfce3bce1b3a9 lib/CPAN/Exception/yaml_process_error.pm
SHA256 d1dfaa4943befc8ddaa33b25f6a014f560eef78eaf159eb3fb047b341d844804 lib/CPAN/FTP.pm
SHA256 b7b5cc35edc3666a5dbdb80d14aa7be5531e6f59378e318a8c11e91187259ad8 lib/CPAN/FTP/netrc.pm
SHA256 384fe55890118cceb68163061c0f3b80d63e46b466e8ebe21c5165accaa9c5d0 lib/CPAN/FirstTime.pm
SHA256 e1186ddaad16cc0d6535948dfda723a4399ad6f0069b826ae4f30ebb8f44eaf4 lib/CPAN/HTTP/Client.pm
SHA256 e45a6b41d7caebdb5f23d3b4f219adf64a214e946b082304b845d7b449a8aba5 lib/CPAN/HTTP/Credentials.pm
SHA256 5b50ed785bf1f5b5abd7620f8fb7e901c2833a37b1f061b00d74d8b8c751ee1b lib/CPAN/HandleConfig.pm
SHA256 ab149d97db14542e8b83732bd91cd423427f6c2e6e1a2968eed2cff50afd2ee8 lib/CPAN/Index.pm
SHA256 3a594f1609132723f9374dcd394961748894aa3758ebef1287de175153550564 lib/CPAN/InfoObj.pm

Todo  view on Meta::CPAN

	he sends me a link to svnweb instead of the repository itself. Svnweb
	itself neither gives machine readable output nor does it provide a link
	to the repository.

	Fortunately one can guess it: svn ls http://pjcj.sytes.net/svn/Devel-Cover

	Repository version passes all tests.

2006-12-25  Andreas J. Koenig  <andreas.koenig.7os6VVqR@franz.ak.mind.de>

	* I don't know how to prevent SQLite dieing due to locked database.
	Because it happens such that a batch process reads the database and an
	interactive process tries to write the database. The latter does not
	know about the other. Both know nothing about each other beforehand.
	Then they clash and I cannot find out.

	FIXED (at least improved) by Randy

2006-12-24  Andreas J. Koenig  <andreas.koenig.7os6VVqR@franz.ak.mind.de>

	* Todo: create a second shell test, say 31force.t that starts from

lib/CPAN.pm  view on Meta::CPAN

            eval {
                local (*STDOUT)=*STDOUT;
                @line = _redirect(@line);
                CPAN::Shell->$command(@line)
              };
            my $command_error = $@;
            _unredirect;
            my $reported_error;
            if ($command_error) {
                my $err = $command_error;
                if (ref $err and $err->isa('CPAN::Exception::blocked_urllist')) {
                    $CPAN::Frontend->mywarn("Client not fully configured, please proceed with configuring.$err");
                    $reported_error = ref $err;
                } else {
                    # I'd prefer never to arrive here and make all errors exception objects
                    if ($err =~ /\S/) {
                        require Carp;
                        require Dumpvalue;
                        my $dv = Dumpvalue->new(tick => '"');
                        Carp::cluck(sprintf "Catching error: %s", $dv->stringify($err));
                    }

lib/CPAN/Distribution.pm  view on Meta::CPAN

}

# add the A/AN/ stuff
#-> CPAN::Distribution::normalize
sub normalize {
    my($self,$s) = @_;
    $s = $self->id unless defined $s;
    if (substr($s,-1,1) eq ".") {
        # using a global because we are sometimes called as static method
        if (!$CPAN::META->{LOCK}
            && !$CPAN::Have_warned->{"$s is unlocked"}++
           ) {
            $CPAN::Frontend->mywarn("You are visiting the local directory
  '$s'
  without lock, take care that concurrent processes do not do likewise.\n");
            $CPAN::Frontend->mysleep(1);
        }
        if ($s eq ".") {
            $s = "$CPAN::iCwd/.";
        } elsif (File::Spec->file_name_is_absolute($s)) {
        } elsif (File::Spec->can("rel2abs")) {

lib/CPAN/Exception/blocked_urllist.pm  view on Meta::CPAN

# -*- Mode: cperl; coding: utf-8; cperl-indent-level: 4 -*-
# vim: ts=4 sts=4 sw=4:
package CPAN::Exception::blocked_urllist;
use strict;
use overload '""' => "as_string";

use vars qw(
            $VERSION
);
$VERSION = "1.001";


sub new {

lib/CPAN/FTP.pm  view on Meta::CPAN

                    $connect_to_internet_ok = 0;
                }
            }
            if ($connect_to_internet_ok) {
                @urllist = @CPAN::Defaultsites;
            } else {
                my $sleep = 2;
                # the tricky thing about dying here is that everybody
                # believes that calls to exists() or all_objects() are
                # safe.
                require CPAN::Exception::blocked_urllist;
                die CPAN::Exception::blocked_urllist->new;
            }
        } else { # ! $defaultsites
            my @host_seq = $level =~ /dleasy/ ?
                @reordered : 0..$last;  # reordered has file and $Thesiteurl first
            @urllist = map { $ccurllist->[$_] } @host_seq;
        }
        $self->debug("synth. urllist[@urllist]") if $CPAN::DEBUG;
        my $aslocal_tempfile = $aslocal . ".tmp" . $$;
        if (my $recommend = $self->_recommend_url_for($file,\@urllist)) {
            @urllist = grep { $_ ne $recommend } @urllist;



( run in 1.194 second using v1.01-cache-2.11-cpan-49f99fa48dc )