Home
last modified time | relevance | path

Searched full:cpan (Results 1 – 25 of 966) sorted by relevance

12345678910>>...39

/openbsd-src/gnu/usr.bin/perl/cpan/Term-ReadKey/
H A DChanges38 * Fix for "[rt.cpan.org #100932] Parallel build fails" from Petr Pisar
71 TermReadKey 2.21 from CPAN git-cpan-module: TermReadKey git-cpan-version: 2.21
72 git-cpan-authorid: JSTOWE git-cpan-file:
78 … ReadKey.pm, ReadKey.xs: import TermReadKey 2.20 from CPAN git-cpan-module: TermReadKey git-cpan
79 git-cpan-authorid: JSTOWE git-cpan-file:
85 … ReadKey.pm, ReadKey.xs: import TermReadKey 2.19 from CPAN git-cpan-module: TermReadKey git-cpan
86 git-cpan-authorid: JSTOWE git-cpan-file:
93 …genchars.pl: import TermReadKey 2.18 from CPAN git-cpan-module: TermReadKey git-cpan-version: 2…
94 git-cpan-authorid: JSTOWE git-cpan-file:
101 TermReadKey 2.17 from CPAN git-cpan-module: TermReadKey git-cpan-version: 2.17
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/
H A DIndex.pm1 package CPAN::Index;
5 @CPAN::Index::ISA = qw(CPAN::Debug);
11 #-> sub CPAN::Index::force_reload ;
14 $CPAN::Index::LAST_TIME = 0;
40 #-> sub CPAN::Index::reload ;
47 for ($CPAN::Config->{index_expire}) {
50 unless (1 || $CPAN::Have_warned->{readmetadatacache}++) {
51 # debug here when CPAN doesn't seem to read the Metadata
53 Carp::cluck("META-PROTOCOL[$CPAN::META->{PROTOCOL}]");
55 unless ($CPAN::META->{PROTOCOL}) {
[all …]
H A DShell.pm1 package CPAN::Shell;
19 "CPAN.pm",
20 "CPAN/Author.pm",
21 "CPAN/CacheMgr.pm",
22 "CPAN/Complete.pm",
23 "CPAN/Debug.pm",
24 "CPAN/DeferredCode.pm",
25 "CPAN/Distribution.pm",
26 "CPAN/Distroprefs.pm",
27 "CPAN/Distrostatus.pm",
[all …]
H A DDistribution.pm3 package CPAN::Distribution;
6 use CPAN::Distroprefs;
7 use CPAN::InfoObj;
10 @CPAN::Distribution::ISA = qw(CPAN::InfoObj);
25 for my $plugin (@{$CPAN::Config->{plugin_list}}) {
28 if ($CPAN::META->has_inst($plugin_proper)){
35 … $CPAN::Frontend->mydie("Plugin '$plugin_proper' not found for hook '$hookname'");
49 #-> CPAN::Distribution::undelay
62 #-> CPAN::Distribution::is_dot_dist
69 #-> CPAN::Distribution::normalize
[all …]
H A DFirstTime.pm3 package CPAN::FirstTime;
11 use CPAN::Mirrors ();
12 use CPAN::Version ();
18 CPAN::FirstTime - Utility for CPAN::Config file Initialization
22 CPAN::FirstTime::init()
26 The init routine asks a few questions and writes a CPAN/Config.pm or
27 CPAN/MyConfig.pm file (depending on what it is currently using).
43 The CPAN shell can watch the C<blib/> directories that are built up
55 The CPAN shell can watch the C<blib/> directories that are built up
63 CPAN::DistnameInfo being installed for taking effect.
[all …]
H A DHandleConfig.pm1 package CPAN::HandleConfig;
11 CPAN::HandleConfig - internal configuration handling for CPAN.pm
15 $VERSION = "5.5012"; # see also CPAN::Config::VERSION at end of file
28 # 2. add a Pod description in CPAN::FirstTime in the DESCRIPTION
31 # 3. add a "matcher" section in CPAN::FirstTime::init that includes
33 # 4. add config option to documentation section in CPAN.pm
147 CPAN->debug("self[$self]args[".join(" | ",@args)."]");
153 die "Panic: could not configure CPAN.pm for args [@args]. Giving up.";
156 CPAN->debug("o[$o]") if $CPAN::DEBUG;
158 $CPAN::Frontend->mywarn("Warning: unknown configuration variable '$o'\n");
[all …]
H A DFTP.pm3 package CPAN::FTP;
10 use CPAN::FTP::netrc;
13 @CPAN::FTP::ISA = qw(CPAN::Debug);
27 $CPAN::Frontend->mydie("Could not open '$file' after 10000 tries: $!") if ++$cnt > 100000;
33 #-> sub CPAN::FTP::ftp_statistics
37 my $ftpstats_size = $CPAN::Config->{ftpstats_size};
46 my $file = File::Spec->catfile($CPAN::Config->{cpan_home},"FTPstats.yml");
50 while (!CPAN::_flock($fh, $locktype|LOCK_NB)) {
54 $CPAN::Frontend->mywarn("$now: waiting for read lock on '$file' (since $waitstart)\n");
66 my $stats = eval { CPAN->_yaml_loadfile($file, {loadblessed => 1}); };
[all …]
H A DBundle.pm3 package CPAN::Bundle;
5 use CPAN::Module;
6 @CPAN::Bundle::ISA = qw(CPAN::Module);
15 $CPAN::Frontend->myprint($self->as_string);
18 #-> CPAN::Bundle::undelay
23 my $obj = CPAN::Shell->expandany($c) or next;
26 $CPAN::Frontend->mywarn("$id seems to contain itself, skipping\n");
34 #-> sub CPAN::Bundle::color_cmd_tmps ;
46 if ($depth>=$CPAN::MAX_RECURSION) {
47 my $e = CPAN::Exception::RecursiveDependency->new($ancestors);
[all …]
H A DCacheMgr.pm3 package CPAN::CacheMgr;
5 use CPAN::InfoObj;
6 @CPAN::CacheMgr::ISA = qw(CPAN::InfoObj CPAN);
15 package CPAN::CacheMgr;
18 #-> sub CPAN::CacheMgr::as_string ;
28 #-> sub CPAN::CacheMgr::cachesize ;
33 #-> sub CPAN::CacheMgr::tidyup ;
36 return unless $CPAN::META->{LOCK};
41 $CPAN::Frontend->myprint(sprintf(
48 return if $CPAN::Signal;
[all …]
H A DTarzip.pm2 package CPAN::Tarzip;
5 use CPAN::Debug;
8 # module is internal to CPAN.pm
10 @ISA = qw(CPAN::Debug); ## no critic
16 $CPAN::Frontend->mydie("CPAN::Tarzip->new called without arg") unless defined $file;
25 unless ($me->{UNGZIPPRG} = $CPAN::Config->{bzip2}) {
30 $CPAN::Frontend->mydie(qq{
31 CPAN.pm needs the external program bzip2 in order to handle '$file'.
33 CPAN shell prompt to register it as external program.
45 $CPAN::META->has_inst("Compress::Zlib") or return;
[all …]
H A DComplete.pm3 package CPAN::Complete;
5 @CPAN::Complete::ISA = qw(CPAN::Debug);
8 @CPAN::Complete::COMMANDS = sort qw(
47 package CPAN::Complete;
71 #-> sub CPAN::Complete::cpl ;
77 CPAN->debug("word [$word] line[$line] pos[$pos]") if $CPAN::DEBUG;
84 @return = grep /^\Q$word\E/, @CPAN::Complete::COMMANDS;
88 @return = cplx('CPAN::Author',uc($word));
91 @return = $rest ? () : map {"$_/"} cplx('CPAN::Author',uc($author||""));
93 …@return = grep /^\Q$word\E/, map {"$author/$_->[2]"} CPAN::Shell->expand("Author",$author)->ls("$r…
[all …]
H A DModule.pm3 package CPAN::Module;
5 @CPAN::Module::ISA = qw(CPAN::InfoObj);
18 #-> sub CPAN::Module::userid
25 #-> sub CPAN::Module::description
32 #-> sub CPAN::Module::distribution
35 CPAN::Shell->expand("Distribution",$self->cpan_file);
38 #-> sub CPAN::Module::_is_representative_module
53 #-> sub CPAN::Module::undelay
57 if ( my $dist = CPAN::Shell->expand("Distribution", $self->cpan_file) ) {
63 #-> sub CPAN::Module::color_cmd_tmps ;
[all …]
H A DInfoObj.pm3 package CPAN::InfoObj;
6 use CPAN::Debug;
7 @CPAN::InfoObj::ISA = qw(CPAN::Debug);
21 #-> sub CPAN::InfoObj::cpan_userid
36 #-> sub CPAN::InfoObj::new ;
49 #-> sub CPAN::InfoObj::safe_chdir ;
56 $self->debug(sprintf "changed directory to %s", CPAN::anycwd())
57 if $CPAN::DEBUG;
62 my $cwd = CPAN::anycwd();
63 $CPAN::Frontend->mywarn("I have neither the -x permission nor the ".
[all …]
H A DAuthor.pm3 package CPAN::Author;
6 use CPAN::InfoObj;
7 @CPAN::Author::ISA = qw(CPAN::InfoObj);
13 package CPAN::Author;
16 #-> sub CPAN::Author::force
22 #-> sub CPAN::Author::force
28 #-> sub CPAN::Author::id
32 $CPAN::Frontend->mydie("Illegal author id[$id]") unless $id =~ /^[A-Z]/;
36 #-> sub CPAN::Author::as_glimpse ;
41 $class =~ s/^CPAN:://;
[all …]
H A DVersion.pm1 package CPAN::Version;
7 # CPAN::Version::vcmp courtesy Jost Krieger
11 CPAN->debug("l[$l] r[$r]") if $CPAN::DEBUG;
22 CPAN->debug("l[$l] r[$r]") if $CPAN::DEBUG;
28 CPAN->debug("l[$l] r[$r]") if $CPAN::DEBUG;
35 CPAN->debug("l[$l] r[$r]") if $CPAN::DEBUG;
43 CPAN->debug(sprintf "lv[%vd] rv[%vd]", $lvstring, $rvstring) if $CPAN::DEBUG;
79 $n =~ s/^v// or die "CPAN::Version::vstring() called with invalid arg [$n]";
119 if (defined $CPAN::Frontend) {
120 $CPAN::Frontend->mywarn("Suspicious version string seen [$n]\n");
[all …]
H A DNox.pm1 package CPAN::Nox;
6 $CPAN::Suppress_readline=1 unless defined $CPAN::term;
10 @CPAN::ISA = ('Exporter');
11 use CPAN;
14 $CPAN::META->has_inst('Digest::MD5','no');
15 $CPAN::META->has_inst('LWP','no');
16 $CPAN::META->has_inst('Compress::Zlib','no');
17 @EXPORT = @CPAN::EXPORT;
19 *AUTOLOAD = \&CPAN::AUTOLOAD;
27 CPAN::Nox - Wrapper around CPAN.pm without using any XS module
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN/lib/
H A DCPAN.pm4 package CPAN; package
5 $CPAN::VERSION = '2.36';
6 $CPAN::VERSION =~ s/_//;
19 use CPAN::Author;
20 use CPAN::HandleConfig;
21 use CPAN::Version;
22 use CPAN::Bundle;
23 use CPAN::CacheMgr;
24 use CPAN::Complete;
25 use CPAN::Debug;
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN/scripts/
H A Dcpan7 use App::Cpan;
8 use CPAN::Version;
10 if ( CPAN::Version->vlt($App::Cpan::VERSION, $minver) ) {
11 …warn "WARNING: your version of App::Cpan is $App::Cpan::VERSION while we would expect at least $mi…
15 my $rc = App::Cpan->run( @ARGV );
22 cpan - easily interact with CPAN from the command line
27 cpan module_name [ module_name ... ]
30 cpan [-cfFimtTw] module_name [ module_name ... ]
33 cpan -I module_name [ module_name ... ]
36 cpan -p ...
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/parse-cpan-meta/
H A D02_api.t18 use Parse::CPAN::Meta;
19 use Parse::CPAN::Meta::Test;
28 "abstract" => "a set of version requirements for a CPAN dist",
29 "author" => [ 'Ricardo Signes <rjbs@cpan.org>' ],
70 local $ENV{PERL_YAML_BACKEND} if not $ENV{PERL_CORE}; # ensure we always get CPAN::META::YAML
72 is(Parse::CPAN::Meta->yaml_backend(), 'CPAN::Meta::YAML', 'yaml_backend(): CPAN::Meta::YAML');
73 my $from_yaml = Parse::CPAN::Meta->load_file( $meta_yaml );
78 local $ENV{PERL_YAML_BACKEND} if not $ENV{PERL_CORE}; # ensure we always get CPAN::META::YAML
81 is(Parse::CPAN::Meta->yaml_backend(), 'CPAN::Meta::YAML', 'yaml_backend(): CPAN::Meta::YAML');
82 my $from_yaml = Parse::CPAN::Meta->load_file( $yaml_meta );
[all …]
/openbsd-src/gnu/usr.bin/perl/t/porting/
H A Dcustomized.dat4 AutoLoader cpan/AutoLoader/t/02AutoSplit.t bb90cda13b88599ad45de4b45799d5218afcb6d8
5 ExtUtils::Constant cpan/ExtUtils-Constant/lib/ExtUtils/Constant/Base.pm 7560e1018f806db5689dee78728ccb8374aea741
6 ExtUtils::Constant cpan/ExtUtils-Constant/t/Constant.t 165e9c7132b003fd192d32a737b0f51f9ba4999e
8 Locale::Maketext::Simple cpan/Locale-Maketext-Simple/lib/Locale/Maketext/Simple.pm 57ed38905791a17c150210cd6f42ead22a7707b6
9 MIME::Base64 cpan/MIME-Base64/Base64.xs ad617fe2d01932c35b92defa26d40aba601a95a8
10 MIME::Base64 cpan/MIME-Base64/lib/MIME/Base64.pm 18e38d197c7c83f96b24f48bef514e93908e6a82
11 MIME::Base64 cpan/MIME-Base64/lib/MIME/QuotedPrint.pm 36cbb455ab57b9bbca7e86f50987c8b1df1a8122
12 Pod::Perldoc cpan/Pod-Perldoc/lib/Pod/Perldoc.pm d97aa26b722e6e3120b19ee0d7cf9af04dfdfb7f
13 Scalar::Util cpan/Scalar-List-Utils/t/uniqnum.t 553b0df79a084015b39e4ae9774f801c9eafeb4c
14 Time::Piece cpan/Tim
[all...]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN/t/
H A D02nox.t10 # use this first to $CPAN::term can be undefined
11 use_ok( 'CPAN' );
12 $CPAN::Suppress_readline = $CPAN::Suppress_readline; # silence
13 $CPAN::META = $CPAN::META; # silence
14 $CPAN::term = $CPAN::term; # silence
15 undef $CPAN::term;
18 use_ok( 'CPAN::Nox' );
20 # this will be set if $CPAN::term is undefined
21 is( $CPAN::Suppress_readline, 1, 'should set suppress readline flag' );
26 is( $CPAN::META->has_inst($mod), 0, "$mod should be marked unavailable" );
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/lib/CPAN/
H A DMeta.pm4 package CPAN::Meta;
13 #pod use CPAN::Meta;
16 #pod my $meta = CPAN::Meta->load_file('META.json');
42 #pod Software distributions released to the CPAN include a F<META.json> or, for
46 #pod L<CPAN::Meta::Spec>.
48 #pod CPAN::Meta provides a simple class to represent this distribution metadata (or
51 #pod The documentation below is only for the methods of the CPAN::Meta object. For
57 use CPAN::Meta::Feature;
58 use CPAN::Meta::Prereqs;
59 use CPAN::Meta::Converter;
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/lib/CPAN/Meta/
H A DFeature.pm4 package CPAN::Meta::Feature;
8 use CPAN::Meta::Prereqs;
12 #pod A CPAN::Meta::Feature object describes an optional feature offered by a CPAN
17 #pod the C<feature> or C<features> methods on a L<CPAN::Meta> object.
21 #pod my $feature = CPAN::Meta::Feature->new( $identifier => \%spec );
35 prereqs => CPAN::Meta::Prereqs->new($spec->{prereqs}),
59 #pod This method returns the feature's prerequisites as a L<CPAN::Meta::Prereqs>
68 # ABSTRACT: an optional feature provided by a CPAN distribution
76 CPAN::Meta::Feature - an optional feature provided by a CPAN distribution
84 A CPAN::Meta::Feature object describes an optional feature offered by a CPAN
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN/lib/App/
H A DCpan.pm1 package App::Cpan;
13 App::Cpan - easily interact with CPAN from the command line
18 cpan module_name [ module_name ... ]
21 cpan [-cfFimtTw] module_name [ module_name ... ]
24 cpan -I module_name [ module_name ... ]
27 cpan -p ...
31 cpan .
33 # without arguments, starts CPAN.pm shell
34 cpan
37 cpan [-ahpruvACDLOPX]
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/Plugin/
H A DSpecfile.pm3 CPAN::Plugin::Specfile - Proof of concept implementation of a trivial CPAN::Plugin
7 # once in the cpan shell
8 o conf plugin_list push CPAN::Plugin::Specfile
13 # any time in the cpan shell to write a spec file
34 system of the CPAN shell, not a full fledged spec file writer. Do not
42 o conf plugin_list push CPAN::Plugin::Specfile=dir,/tmp/specfiles-000042
45 C<plugins/CPAN::Plugin::Specfile> directory in the I<cpan_home>
50 Andreas Koenig <andk@cpan.org>, Branislav Zahradnik <barney@cpan.org>
54 package CPAN::Plugin::Specfile;
80 $self->dir_default(File::Spec->catdir($CPAN::Config->{cpan_home},"plugins",__PACKAGE__));
[all …]

12345678910>>...39