view release on metacpan or search on metacpan
inc/bundle/HTTP/Tiny.pm view on Meta::CPAN
#pod =method new
#pod
#pod $http = HTTP::Tiny->new( %attributes );
#pod
#pod This constructor returns a new HTTP::Tiny object. Valid attributes include:
#pod
#pod =for :list
#pod * C<agent> â A user-agent string (defaults to 'HTTP-Tiny/$VERSION'). If
#pod C<agent> â ends in a space character, the default user-agent string is
#pod appended.
#pod * C<cookie_jar> â An instance of L<HTTP::CookieJar> â or equivalent class
#pod that supports the C<add> and C<cookie_header> methods
#pod * C<default_headers> â A hashref of default headers to apply to requests
#pod * C<local_address> â The local IP address to bind to
#pod * C<keep_alive> â Whether to reuse the last connection (if for the same
#pod scheme, host and port) (defaults to 1)
#pod * C<max_redirect> â Maximum number of redirects allowed (defaults to 5)
#pod * C<max_size> â Maximum response size in bytes (only when not using a data
#pod callback). If defined, requests with responses larger than this will return
#pod a 599 status code.
#pod * C<http_proxy> â URL of a proxy server to use for HTTP connections
inc/bundle/HTTP/Tiny.pm view on Meta::CPAN
$self->cookie_jar->add( $url, $_ ) for @cookies;
return;
}
sub _validate_cookie_jar {
my ($class, $jar) = @_;
# duck typing
for my $method ( qw/add cookie_header/ ) {
_croak(qq/Cookie jar must provide the '$method' method\n/)
unless ref($jar) && ref($jar)->can($method);
}
return;
}
sub _maybe_redirect {
my ($self, $request, $response, $args) = @_;
my $headers = $response->{headers};
my ($status, $method) = ($response->{status}, $request->{method});
inc/bundle/HTTP/Tiny.pm view on Meta::CPAN
# Standard request header names/case from HTTP/1.1 RFCs
my @rfc_request_headers = qw(
Accept Accept-Charset Accept-Encoding Accept-Language Authorization
Cache-Control Connection Content-Length Expect From Host
If-Match If-Modified-Since If-None-Match If-Range If-Unmodified-Since
Max-Forwards Pragma Proxy-Authorization Range Referer TE Trailer
Transfer-Encoding Upgrade User-Agent Via
);
my @other_request_headers = qw(
Content-Encoding Content-MD5 Content-Type Cookie DNT Date Origin
X-XSS-Protection
);
my %HeaderCase = map { lc($_) => $_ } @rfc_request_headers, @other_request_headers;
# to avoid multiple small writes and hence nagle, you can pass the method line or anything else to
# combine writes.
sub write_header_lines {
(@_ >= 2 && @_ <= 4 && ref $_[1] eq 'HASH') || die(q/Usage: $handle->write_header_lines(headers, [header_case, prefix])/ . "\n");
my($self, $headers, $header_case, $prefix_data) = @_;
inc/bundle/HTTP/Tiny.pm view on Meta::CPAN
This is a very simple HTTP/1.1 client, designed for doing simple
requests without the overhead of a large framework like L<LWP::UserAgent>.
It is more correct and more complete than L<HTTP::Lite>. It supports
proxies and redirection. It also correctly resumes after EINTR.
If L<IO::Socket::IP> 0.25 or later is installed, HTTP::Tiny will use it instead
of L<IO::Socket::INET> for transparent support for both IPv4 and IPv6.
Cookie support requires L<HTTP::CookieJar> or an equivalent class.
=head1 METHODS
=head2 new
$http = HTTP::Tiny->new( %attributes );
This constructor returns a new HTTP::Tiny object. Valid attributes include:
=over 4
=item *
C<agent> â A user-agent string (defaults to 'HTTP-Tiny/$VERSION'). If C<agent> â ends in a space character, the default user-agent string is appended.
=item *
C<cookie_jar> â An instance of L<HTTP::CookieJar> â or equivalent class that supports the C<add> and C<cookie_header> methods
=item *
C<default_headers> â A hashref of default headers to apply to requests
=item *
C<local_address> â The local IP address to bind to
=item *
inc/bundle/HTTP/Tiny.pm view on Meta::CPAN
Christian Hansen <chansen@cpan.org>
=item *
David Golden <dagolden@cpan.org>
=back
=head1 CONTRIBUTORS
=for stopwords Alan Gardner Alessandro Ghedini A. Sinan Unur Brad Gilbert brian m. carlson Chris Nehren Weyl Claes Jakobsson Clinton Gormley Craig Berry David Golden Mitchell Dean Pearce Edward Zborowski Felipe Gasper Graham Knop Greg Kennedy James E...
=over 4
=item *
Alan Gardner <gardner@pythian.com>
=item *
Alessandro Ghedini <al3xbio@gmail.com>
inc/bundle/HTTP/Tiny.pm view on Meta::CPAN
=item *
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
=item *
Tom Hukins <tom@eborcom.com>
=item *
Tony Cook <tony@develop-help.com>
=item *
Xavier Guimard <yadd@debian.org>
=back
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by Christian Hansen.
inc/bundle/Module/CoreList.pm view on Meta::CPAN
},
5.00405 => {
delta_from => 5.004,
changed => {
'AutoLoader' => '5.56',
'AutoSplit' => '1.0303',
'Bundle::CPAN' => '0.03',
'CGI' => '2.42',
'CGI::Apache' => '1.1',
'CGI::Carp' => '1.10',
'CGI::Cookie' => '1.06',
'CGI::Push' => '1.01',
'CGI::Switch' => '0.06',
'CPAN' => '1.40',
'CPAN::FirstTime' => '1.30',
'Cwd' => '2.01',
'DB_File' => '1.15',
'DynaLoader' => '1.03',
'ExtUtils::Command' => '1.01',
'ExtUtils::Embed' => '1.2505',
'ExtUtils::Install' => '1.28',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
changed => {
'AutoLoader' => '5.57',
'AutoSplit' => '1.0305',
'B::Deparse' => '0.59',
'B::Stash' => undef,
'Benchmark' => '1',
'ByteLoader' => '0.03',
'CGI' => '2.56',
'CGI::Apache' => undef,
'CGI::Carp' => '1.14',
'CGI::Cookie' => '1.12',
'CGI::Fast' => '1.02',
'CGI::Pretty' => '1.03',
'CGI::Switch' => undef,
'CPAN' => '1.52',
'CPAN::FirstTime' => '1.38',
'Carp::Heavy' => undef,
'Class::Struct' => '0.58',
'Cwd' => '2.02',
'DB' => '1.0',
'DB_File' => '1.72',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
5.006001 => {
delta_from => 5.006,
changed => {
'AutoLoader' => '5.58',
'B::Assembler' => '0.02',
'B::Concise' => '0.51',
'B::Deparse' => '0.6',
'ByteLoader' => '0.04',
'CGI' => '2.752',
'CGI::Carp' => '1.20',
'CGI::Cookie' => '1.18',
'CGI::Pretty' => '1.05',
'CGI::Push' => '1.04',
'CGI::Util' => '1.1',
'CPAN' => '1.59_54',
'CPAN::FirstTime' => '1.53',
'Class::Struct' => '0.59',
'Cwd' => '2.04',
'DB_File' => '1.75',
'Data::Dumper' => '2.102',
'ExtUtils::Install' => '1.28',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'B::Lint' => '1.00',
'B::Showlex' => '1.00',
'B::Stackobj' => '1.00',
'B::Stash' => '1.00',
'B::Terse' => '1.00',
'B::Xref' => '1.00',
'Benchmark' => '1.04',
'CGI' => '2.80',
'CGI::Apache' => '1.00',
'CGI::Carp' => '1.22',
'CGI::Cookie' => '1.20',
'CGI::Fast' => '1.04',
'CGI::Pretty' => '1.05_00',
'CGI::Switch' => '1.00',
'CGI::Util' => '1.3',
'CPAN' => '1.59_56',
'CPAN::FirstTime' => '1.54',
'CPAN::Nox' => '1.00_01',
'Carp' => '1.01',
'Carp::Heavy' => '1.01',
'Class::ISA' => '0.32',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'B::Concise' => '0.56',
'B::Debug' => '1.01',
'B::Deparse' => '0.64',
'B::Disassembler' => '1.03',
'B::Lint' => '1.02',
'B::Terse' => '1.02',
'Benchmark' => '1.051',
'ByteLoader' => '0.05',
'CGI' => '3.00',
'CGI::Carp' => '1.26',
'CGI::Cookie' => '1.24',
'CGI::Fast' => '1.041',
'CGI::Pretty' => '1.07_00',
'CGI::Util' => '1.31',
'CPAN' => '1.76_01',
'CPAN::FirstTime' => '1.60',
'CPAN::Nox' => '1.03',
'Class::Struct' => '0.63',
'Cwd' => '2.08',
'DB_File' => '1.806',
'Data::Dumper' => '2.121',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
delta_from => 5.008006,
changed => {
'B' => '1.09',
'B::Concise' => '0.65',
'B::Deparse' => '0.7',
'B::Disassembler' => '1.04',
'B::Terse' => '1.03',
'Benchmark' => '1.07',
'CGI' => '3.10',
'CGI::Carp' => '1.29',
'CGI::Cookie' => '1.25',
'Carp' => '1.04',
'Carp::Heavy' => '1.04',
'Class::ISA' => '0.33',
'Cwd' => '3.05',
'DB_File' => '1.811',
'Data::Dumper' => '2.121_04',
'Devel::DProf' => '20050310.00',
'Devel::PPPort' => '3.06',
'Digest' => '1.10',
'Digest::file' => '0.01',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'B::Bytecode' => '1.01_01',
'B::C' => '1.04_01',
'B::CC' => '1.00_01',
'B::Concise' => '0.66',
'B::Debug' => '1.02_01',
'B::Deparse' => '0.71',
'B::Disassembler' => '1.05',
'B::Terse' => '1.03_01',
'ByteLoader' => '0.06',
'CGI' => '3.15',
'CGI::Cookie' => '1.26',
'CPAN' => '1.76_02',
'Cwd' => '3.12',
'DB' => '1.01',
'DB_File' => '1.814',
'Data::Dumper' => '2.121_08',
'Devel::DProf' => '20050603.00',
'Devel::PPPort' => '3.06_01',
'Devel::Peek' => '1.03',
'Digest' => '1.14',
'Digest::MD5' => '2.36',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'B::C' => '1.05',
'B::Concise' => '0.76',
'B::Debug' => '1.05',
'B::Deparse' => '0.87',
'B::Lint' => '1.11',
'B::Lint::Debug' => undef,
'B::Terse' => '1.05',
'Benchmark' => '1.1',
'CGI' => '3.42',
'CGI::Carp' => '1.30_01',
'CGI::Cookie' => '1.29',
'CGI::Fast' => '1.07',
'CGI::Util' => '1.5_01',
'CPAN' => '1.9301',
'CPAN::Debug' => '5.5',
'CPAN::DeferedCode' => '5.50',
'CPAN::Distroprefs' => '6',
'CPAN::FirstTime' => '5.5_01',
'CPAN::HandleConfig' => '5.5',
'CPAN::Kwalify' => '5.50',
'CPAN::Nox' => '5.50',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'Archive::Tar' => '1.30_01',
'AutoLoader' => '5.61',
'B' => '1.11',
'B::Bytecode' => '1.02',
'B::C' => '1.05',
'B::Concise' => '0.69',
'B::Deparse' => '0.76',
'B::Lint' => '1.08',
'Benchmark' => '1.08',
'CGI' => '3.20',
'CGI::Cookie' => '1.27',
'CGI::Fast' => '1.07',
'CPAN' => '1.87_55',
'CPAN::Debug' => '5.400561',
'CPAN::FirstTime' => '5.400742',
'CPAN::HandleConfig' => '5.400740',
'CPAN::Nox' => '5.400561',
'CPAN::Tarzip' => '5.400714',
'CPAN::Version' => '5.400561',
'Compress::Raw::Zlib' => '2.000_13',
'Compress::Zlib' => '2.000_13',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'IO::Uncompress::Inflate'=> '2.000_13',
'IO::Uncompress::RawInflate'=> '2.000_13',
'IO::Uncompress::Unzip' => '2.000_13',
'MIME::Base64' => '3.07_01',
'Math::Complex' => '1.36',
'Math::Trig' => '1.04',
'Module::Build' => '0.2805',
'Module::Build::Base' => undef,
'Module::Build::Compat' => '0.03',
'Module::Build::ConfigData'=> undef,
'Module::Build::Cookbook'=> undef,
'Module::Build::ModuleInfo'=> undef,
'Module::Build::Notes' => undef,
'Module::Build::PPMMaker'=> undef,
'Module::Build::Platform::Amiga'=> undef,
'Module::Build::Platform::Default'=> undef,
'Module::Build::Platform::EBCDIC'=> undef,
'Module::Build::Platform::MPEiX'=> undef,
'Module::Build::Platform::MacOS'=> undef,
'Module::Build::Platform::RiscOS'=> undef,
'Module::Build::Platform::Unix'=> undef,
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'AutoLoader' => '5.63',
'AutoSplit' => '1.05',
'B' => '1.16',
'B::Concise' => '0.72',
'B::Debug' => '1.05',
'B::Deparse' => '0.82',
'B::Lint' => '1.09',
'B::Terse' => '1.05',
'Benchmark' => '1.1',
'CGI' => '3.29',
'CGI::Cookie' => '1.28',
'CGI::Util' => '1.5_01',
'CPAN' => '1.9102',
'CPAN::Debug' => '5.400955',
'CPAN::FirstTime' => '5.401669',
'CPAN::HandleConfig' => '5.401744',
'CPAN::Kwalify' => '5.401418',
'CPAN::Nox' => '5.400844',
'CPAN::Queue' => '5.401704',
'CPAN::Tarzip' => '5.401717',
'CPAN::Version' => '5.401387',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'B' => '1.22',
'B::Concise' => '0.76',
'B::Debug' => '1.11',
'B::Deparse' => '0.89',
'B::Lint' => '1.11',
'B::Lint::Debug' => undef,
'B::Xref' => '1.02',
'Benchmark' => '1.11',
'CGI' => '3.43',
'CGI::Carp' => '1.30_01',
'CGI::Cookie' => '1.29',
'CPAN' => '1.9402',
'CPAN::Author' => '5.5',
'CPAN::Bundle' => '5.5',
'CPAN::CacheMgr' => '5.5',
'CPAN::Complete' => '5.5',
'CPAN::Debug' => '5.5',
'CPAN::DeferredCode' => '5.50',
'CPAN::Distribution' => '1.93',
'CPAN::Distroprefs' => '6',
'CPAN::Distrostatus' => '5.5',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'Math::BigInt' => '1.89',
'Math::BigInt::FastCalc'=> '0.19',
'Math::BigRat' => '0.22',
'Math::Complex' => '1.56',
'Math::Trig' => '1.2',
'Memoize' => '1.01_03',
'Module::Build' => '0.340201',
'Module::Build::Base' => '0.340201',
'Module::Build::Compat' => '0.340201',
'Module::Build::Config' => '0.340201',
'Module::Build::Cookbook'=> '0.340201',
'Module::Build::Dumper' => '0.340201',
'Module::Build::ModuleInfo'=> '0.340201',
'Module::Build::Notes' => '0.340201',
'Module::Build::PPMMaker'=> '0.340201',
'Module::Build::Platform::Amiga'=> '0.340201',
'Module::Build::Platform::Default'=> '0.340201',
'Module::Build::Platform::EBCDIC'=> '0.340201',
'Module::Build::Platform::MPEiX'=> '0.340201',
'Module::Build::Platform::MacOS'=> '0.340201',
'Module::Build::Platform::RiscOS'=> '0.340201',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'IPC::Cmd' => '0.50',
'IPC::Open3' => '1.05',
'Locale::Maketext::Simple'=> '0.21',
'Log::Message::Simple' => '0.06',
'Math::BigInt' => '1.89_01',
'Math::BigRat' => '0.24',
'Module::Build' => '0.35',
'Module::Build::Base' => '0.35',
'Module::Build::Compat' => '0.35',
'Module::Build::Config' => '0.35',
'Module::Build::Cookbook'=> '0.35',
'Module::Build::Dumper' => '0.35',
'Module::Build::ModuleInfo'=> '0.35',
'Module::Build::Notes' => '0.35',
'Module::Build::PPMMaker'=> '0.35',
'Module::Build::Platform::Amiga'=> '0.35',
'Module::Build::Platform::Default'=> '0.35',
'Module::Build::Platform::EBCDIC'=> '0.35',
'Module::Build::Platform::MPEiX'=> '0.35',
'Module::Build::Platform::MacOS'=> '0.35',
'Module::Build::Platform::RiscOS'=> '0.35',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'IO::Uncompress::Unzip' => '2.022',
'IPC::Cmd' => '0.54',
'List::Util' => '1.22',
'List::Util::PP' => '1.22',
'List::Util::XS' => '1.22',
'Locale::Maketext' => '1.14',
'Module::Build' => '0.35_09',
'Module::Build::Base' => '0.35_09',
'Module::Build::Compat' => '0.35_09',
'Module::Build::Config' => '0.35_09',
'Module::Build::Cookbook'=> '0.35_09',
'Module::Build::Dumper' => '0.35_09',
'Module::Build::ModuleInfo'=> '0.35_09',
'Module::Build::Notes' => '0.35_09',
'Module::Build::PPMMaker'=> '0.35_09',
'Module::Build::Platform::Amiga'=> '0.35_09',
'Module::Build::Platform::Default'=> '0.35_09',
'Module::Build::Platform::EBCDIC'=> '0.35_09',
'Module::Build::Platform::MPEiX'=> '0.35_09',
'Module::Build::Platform::MacOS'=> '0.35_09',
'Module::Build::Platform::RiscOS'=> '0.35_09',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'ExtUtils::Mkbootstrap' => '6.56',
'ExtUtils::Mksymlists' => '6.56',
'ExtUtils::testlib' => '6.56',
'File::Find' => '1.15',
'File::Path' => '2.08_01',
'File::Spec' => '3.31',
'Module::Build' => '0.36',
'Module::Build::Base' => '0.36',
'Module::Build::Compat' => '0.36',
'Module::Build::Config' => '0.36',
'Module::Build::Cookbook'=> '0.36',
'Module::Build::Dumper' => '0.36',
'Module::Build::ModuleInfo'=> '0.36',
'Module::Build::Notes' => '0.36',
'Module::Build::PPMMaker'=> '0.36',
'Module::Build::Platform::Amiga'=> '0.36',
'Module::Build::Platform::Default'=> '0.36',
'Module::Build::Platform::EBCDIC'=> '0.36',
'Module::Build::Platform::MPEiX'=> '0.36',
'Module::Build::Platform::MacOS'=> '0.36',
'Module::Build::Platform::RiscOS'=> '0.36',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'IO::Uncompress::Base' => '2.024',
'IO::Uncompress::Bunzip2'=> '2.024',
'IO::Uncompress::Gunzip'=> '2.024',
'IO::Uncompress::Inflate'=> '2.024',
'IO::Uncompress::RawInflate'=> '2.024',
'IO::Uncompress::Unzip' => '2.024',
'Module::Build' => '0.3603',
'Module::Build::Base' => '0.3603',
'Module::Build::Compat' => '0.3603',
'Module::Build::Config' => '0.3603',
'Module::Build::Cookbook'=> '0.3603',
'Module::Build::Dumper' => '0.3603',
'Module::Build::ModuleInfo'=> '0.3603',
'Module::Build::Notes' => '0.3603',
'Module::Build::PPMMaker'=> '0.3603',
'Module::Build::Platform::Amiga'=> '0.3603',
'Module::Build::Platform::Default'=> '0.3603',
'Module::Build::Platform::EBCDIC'=> '0.3603',
'Module::Build::Platform::MPEiX'=> '0.3603',
'Module::Build::Platform::MacOS'=> '0.3603',
'Module::Build::Platform::RiscOS'=> '0.3603',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'IPC::Semaphore' => '2.03',
'IPC::SharedMem' => '2.03',
'IPC::SysV' => '2.03',
'Locale::Maketext' => '1.15',
'Locale::Maketext::Guts'=> undef,
'Locale::Maketext::GutsLoader'=> undef,
'Module::Build' => '0.3607',
'Module::Build::Base' => '0.3607',
'Module::Build::Compat' => '0.3607',
'Module::Build::Config' => '0.3607',
'Module::Build::Cookbook'=> '0.3607',
'Module::Build::Dumper' => '0.3607',
'Module::Build::ModuleInfo'=> '0.3607',
'Module::Build::Notes' => '0.3607',
'Module::Build::PPMMaker'=> '0.3607',
'Module::Build::Platform::Amiga'=> '0.3607',
'Module::Build::Platform::Default'=> '0.3607',
'Module::Build::Platform::EBCDIC'=> '0.3607',
'Module::Build::Platform::MPEiX'=> '0.3607',
'Module::Build::Platform::MacOS'=> '0.3607',
'Module::Build::Platform::RiscOS'=> '0.3607',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'Archive::Extract' => '0.48',
'Archive::Tar' => '1.76',
'Archive::Tar::Constant'=> '1.76',
'Archive::Tar::File' => '1.76',
'B::Concise' => '0.83',
'B::Deparse' => '1.03',
'B::Lint' => '1.13',
'Benchmark' => '1.12',
'CGI' => '3.51',
'CGI::Carp' => '3.51',
'CGI::Cookie' => '1.30',
'CGI::Push' => '1.05',
'CGI::Util' => '3.51',
'CPAN' => '1.94_63',
'CPAN::HTTP::Client' => '1.94',
'CPAN::HTTP::Credentials'=> '1.94',
'CPAN::Meta::YAML' => '0.003',
'CPANPLUS' => '0.9011',
'CPANPLUS::Dist::Build' => '0.52',
'CPANPLUS::Dist::Build::Constants'=> '0.52',
'CPANPLUS::Internals' => '0.9011',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'IPC::Cmd' => '0.70',
'Locale::Maketext' => '1.19',
'Math::BigFloat' => '1.992',
'Math::BigInt' => '1.992',
'Math::BigInt::Calc' => '1.992',
'Math::BigInt::CalcEmu' => '1.992',
'Module::Build' => '0.37_05',
'Module::Build::Base' => '0.37_05',
'Module::Build::Compat' => '0.37_05',
'Module::Build::Config' => '0.37_05',
'Module::Build::Cookbook'=> '0.37_05',
'Module::Build::Dumper' => '0.37_05',
'Module::Build::ModuleInfo'=> '0.37_05',
'Module::Build::Notes' => '0.37_05',
'Module::Build::PPMMaker'=> '0.37_05',
'Module::Build::Platform::Amiga'=> '0.37_05',
'Module::Build::Platform::Default'=> '0.37_05',
'Module::Build::Platform::EBCDIC'=> '0.37_05',
'Module::Build::Platform::MPEiX'=> '0.37_05',
'Module::Build::Platform::MacOS'=> '0.37_05',
'Module::Build::Platform::RiscOS'=> '0.37_05',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'Locale::Script' => '3.16',
'Math::BigFloat' => '1.993',
'Math::BigInt' => '1.994',
'Math::BigInt::Calc' => '1.993',
'Math::BigInt::CalcEmu' => '1.993',
'Math::BigInt::FastCalc'=> '0.28',
'Module::Build' => '0.3800',
'Module::Build::Base' => '0.3800',
'Module::Build::Compat' => '0.3800',
'Module::Build::Config' => '0.3800',
'Module::Build::Cookbook'=> '0.3800',
'Module::Build::Dumper' => '0.3800',
'Module::Build::ModuleInfo'=> '0.3800',
'Module::Build::Notes' => '0.3800',
'Module::Build::PPMMaker'=> '0.3800',
'Module::Build::Platform::Amiga'=> '0.3800',
'Module::Build::Platform::Default'=> '0.3800',
'Module::Build::Platform::EBCDIC'=> '0.3800',
'Module::Build::Platform::MPEiX'=> '0.3800',
'Module::Build::Platform::MacOS'=> '0.3800',
'Module::Build::Platform::RiscOS'=> '0.3800',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'IO::Socket::INET' => '1.32',
'IPC::Open3' => '1.12',
'Math::BigFloat' => '1.995',
'Math::BigFloat::Trace' => '0.29',
'Math::BigInt' => '1.996',
'Math::BigInt::Trace' => '0.29',
'Module::Build' => '0.39_01',
'Module::Build::Base' => '0.39_01',
'Module::Build::Compat' => '0.39_01',
'Module::Build::Config' => '0.39_01',
'Module::Build::Cookbook'=> '0.39_01',
'Module::Build::Dumper' => '0.39_01',
'Module::Build::ModuleInfo'=> '0.39_01',
'Module::Build::Notes' => '0.39_01',
'Module::Build::PPMMaker'=> '0.39_01',
'Module::Build::Platform::Amiga'=> '0.39_01',
'Module::Build::Platform::Default'=> '0.39_01',
'Module::Build::Platform::EBCDIC'=> '0.39_01',
'Module::Build::Platform::MPEiX'=> '0.39_01',
'Module::Build::Platform::MacOS'=> '0.39_01',
'Module::Build::Platform::RiscOS'=> '0.39_01',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'Memoize::Expire' => '1.03',
'Memoize::ExpireFile' => '1.03',
'Memoize::ExpireTest' => '1.03',
'Memoize::NDBM_File' => '1.03',
'Memoize::SDBM_File' => '1.03',
'Memoize::Storable' => '1.03',
'Module::Build' => '0.40',
'Module::Build::Base' => '0.40',
'Module::Build::Compat' => '0.40',
'Module::Build::Config' => '0.40',
'Module::Build::Cookbook'=> '0.40',
'Module::Build::Dumper' => '0.40',
'Module::Build::ModuleInfo'=> '0.40',
'Module::Build::Notes' => '0.40',
'Module::Build::PPMMaker'=> '0.40',
'Module::Build::Platform::Amiga'=> '0.40',
'Module::Build::Platform::Default'=> '0.40',
'Module::Build::Platform::EBCDIC'=> '0.40',
'Module::Build::Platform::MPEiX'=> '0.40',
'Module::Build::Platform::MacOS'=> '0.40',
'Module::Build::Platform::RiscOS'=> '0.40',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'IO::Uncompress::Base' => '2.055',
'IO::Uncompress::Bunzip2'=> '2.055',
'IO::Uncompress::Gunzip'=> '2.055',
'IO::Uncompress::Inflate'=> '2.055',
'IO::Uncompress::RawInflate'=> '2.055',
'IO::Uncompress::Unzip' => '2.055',
'Module::Build' => '0.4003',
'Module::Build::Base' => '0.4003',
'Module::Build::Compat' => '0.4003',
'Module::Build::Config' => '0.4003',
'Module::Build::Cookbook'=> '0.4003',
'Module::Build::Dumper' => '0.4003',
'Module::Build::ModuleInfo'=> '0.4003',
'Module::Build::Notes' => '0.4003',
'Module::Build::PPMMaker'=> '0.4003',
'Module::Build::Platform::Amiga'=> '0.4003',
'Module::Build::Platform::Default'=> '0.4003',
'Module::Build::Platform::EBCDIC'=> '0.4003',
'Module::Build::Platform::MPEiX'=> '0.4003',
'Module::Build::Platform::MacOS'=> '0.4003',
'Module::Build::Platform::RiscOS'=> '0.4003',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'Locale::Script' => '3.26',
'Math::BigFloat' => '1.999',
'Math::BigInt' => '1.9992',
'Math::BigInt::Calc' => '1.998',
'Math::BigInt::CalcEmu' => '1.9991',
'Math::BigRat' => '0.2606',
'Module::Build' => '0.4005',
'Module::Build::Base' => '0.4005',
'Module::Build::Compat' => '0.4005',
'Module::Build::Config' => '0.4005',
'Module::Build::Cookbook'=> '0.4005',
'Module::Build::Dumper' => '0.4005',
'Module::Build::ModuleInfo'=> '0.4005',
'Module::Build::Notes' => '0.4005',
'Module::Build::PPMMaker'=> '0.4005',
'Module::Build::Platform::Amiga'=> '0.4005',
'Module::Build::Platform::Default'=> '0.4005',
'Module::Build::Platform::EBCDIC'=> '0.4005',
'Module::Build::Platform::MPEiX'=> '0.4005',
'Module::Build::Platform::MacOS'=> '0.4005',
'Module::Build::Platform::RiscOS'=> '0.4005',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'IPC::SharedMem' => '2.04',
'IPC::SysV' => '2.04',
'List::Util' => '1.31',
'List::Util::XS' => '1.31',
'Math::BigFloat::Trace' => '0.36',
'Math::BigInt::Trace' => '0.36',
'Module::Build' => '0.4007',
'Module::Build::Base' => '0.4007',
'Module::Build::Compat' => '0.4007',
'Module::Build::Config' => '0.4007',
'Module::Build::Cookbook'=> '0.4007',
'Module::Build::Dumper' => '0.4007',
'Module::Build::ModuleInfo'=> '0.4007',
'Module::Build::Notes' => '0.4007',
'Module::Build::PPMMaker'=> '0.4007',
'Module::Build::Platform::Default'=> '0.4007',
'Module::Build::Platform::MacOS'=> '0.4007',
'Module::Build::Platform::Unix'=> '0.4007',
'Module::Build::Platform::VMS'=> '0.4007',
'Module::Build::Platform::VOS'=> '0.4007',
'Module::Build::Platform::Windows'=> '0.4007',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'IO::Uncompress::Gunzip'=> '2.063',
'IO::Uncompress::Inflate'=> '2.063',
'IO::Uncompress::RawInflate'=> '2.063',
'IO::Uncompress::Unzip' => '2.063',
'IPC::Cmd' => '0.90',
'Locale::Maketext' => '1.25',
'Module::Build' => '0.4202',
'Module::Build::Base' => '0.4202',
'Module::Build::Compat' => '0.4202',
'Module::Build::Config' => '0.4202',
'Module::Build::Cookbook'=> '0.4202',
'Module::Build::Dumper' => '0.4202',
'Module::Build::ModuleInfo'=> '0.4202',
'Module::Build::Notes' => '0.4202',
'Module::Build::PPMMaker'=> '0.4202',
'Module::Build::Platform::Default'=> '0.4202',
'Module::Build::Platform::MacOS'=> '0.4202',
'Module::Build::Platform::Unix'=> '0.4202',
'Module::Build::Platform::VMS'=> '0.4202',
'Module::Build::Platform::VOS'=> '0.4202',
'Module::Build::Platform::Windows'=> '0.4202',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
},
removed => {
}
},
5.019007 => {
delta_from => 5.019006,
changed => {
'CGI' => '3.64',
'CGI::Apache' => '1.02',
'CGI::Carp' => '3.64',
'CGI::Cookie' => '1.31',
'CGI::Fast' => '1.10',
'CGI::Pretty' => '3.64',
'CGI::Push' => '1.06',
'CGI::Switch' => '1.02',
'CGI::Util' => '3.64',
'CPAN::Meta' => '2.133380',
'CPAN::Meta::Converter' => '2.133380',
'CPAN::Meta::Feature' => '2.133380',
'CPAN::Meta::History' => '2.133380',
'CPAN::Meta::Prereqs' => '2.133380',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'Locale::Codes::Script_Codes'=> '3.28',
'Locale::Codes::Script_Retired'=> '3.28',
'Locale::Country' => '3.28',
'Locale::Currency' => '3.28',
'Locale::Language' => '3.28',
'Locale::Script' => '3.28',
'Module::Build' => '0.4203',
'Module::Build::Base' => '0.4203',
'Module::Build::Compat' => '0.4203',
'Module::Build::Config' => '0.4203',
'Module::Build::Cookbook'=> '0.4203',
'Module::Build::Dumper' => '0.4203',
'Module::Build::ModuleInfo'=> '0.4203',
'Module::Build::Notes' => '0.4203',
'Module::Build::PPMMaker'=> '0.4203',
'Module::Build::Platform::Default'=> '0.4203',
'Module::Build::Platform::MacOS'=> '0.4203',
'Module::Build::Platform::Unix'=> '0.4203',
'Module::Build::Platform::VMS'=> '0.4203',
'Module::Build::Platform::VOS'=> '0.4203',
'Module::Build::Platform::Windows'=> '0.4203',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'File::Copy' => '2.29',
'Hash::Util::FieldHash' => '1.14',
'IO::Socket::IP' => '0.26',
'IO::Socket::UNIX' => '1.26',
'List::Util' => '1.36',
'List::Util::XS' => '1.36',
'Module::Build' => '0.4204',
'Module::Build::Base' => '0.4204',
'Module::Build::Compat' => '0.4204',
'Module::Build::Config' => '0.4204',
'Module::Build::Cookbook'=> '0.4204',
'Module::Build::Dumper' => '0.4204',
'Module::Build::ModuleInfo'=> '0.4204',
'Module::Build::Notes' => '0.4204',
'Module::Build::PPMMaker'=> '0.4204',
'Module::Build::Platform::Default'=> '0.4204',
'Module::Build::Platform::MacOS'=> '0.4204',
'Module::Build::Platform::Unix'=> '0.4204',
'Module::Build::Platform::VMS'=> '0.4204',
'Module::Build::Platform::VOS'=> '0.4204',
'Module::Build::Platform::Windows'=> '0.4204',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
'Locale::Codes::Script_Codes'=> '3.29',
'Locale::Codes::Script_Retired'=> '3.29',
'Locale::Country' => '3.29',
'Locale::Currency' => '3.29',
'Locale::Language' => '3.29',
'Locale::Script' => '3.29',
'Module::Build' => '0.4205',
'Module::Build::Base' => '0.4205',
'Module::Build::Compat' => '0.4205',
'Module::Build::Config' => '0.4205',
'Module::Build::Cookbook'=> '0.4205',
'Module::Build::Dumper' => '0.4205',
'Module::Build::ModuleInfo'=> '0.4205',
'Module::Build::Notes' => '0.4205',
'Module::Build::PPMMaker'=> '0.4205',
'Module::Build::Platform::Default'=> '0.4205',
'Module::Build::Platform::MacOS'=> '0.4205',
'Module::Build::Platform::Unix'=> '0.4205',
'Module::Build::Platform::VMS'=> '0.4205',
'Module::Build::Platform::VOS'=> '0.4205',
'Module::Build::Platform::Windows'=> '0.4205',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
changed => {
'Module::CoreList' => '5.021001',
'Module::CoreList::TieHashDelta'=> '5.021001',
'Module::CoreList::Utils'=> '5.021001',
'feature' => '1.37',
},
removed => {
'CGI' => 1,
'CGI::Apache' => 1,
'CGI::Carp' => 1,
'CGI::Cookie' => 1,
'CGI::Fast' => 1,
'CGI::Pretty' => 1,
'CGI::Push' => 1,
'CGI::Switch' => 1,
'CGI::Util' => 1,
'Module::Build' => 1,
'Module::Build::Base' => 1,
'Module::Build::Compat' => 1,
'Module::Build::Config' => 1,
'Module::Build::ConfigData'=> 1,
'Module::Build::Cookbook'=> 1,
'Module::Build::Dumper' => 1,
'Module::Build::ModuleInfo'=> 1,
'Module::Build::Notes' => 1,
'Module::Build::PPMMaker'=> 1,
'Module::Build::Platform::Default'=> 1,
'Module::Build::Platform::MacOS'=> 1,
'Module::Build::Platform::Unix'=> 1,
'Module::Build::Platform::VMS'=> 1,
'Module::Build::Platform::VOS'=> 1,
'Module::Build::Platform::Windows'=> 1,
inc/bundle/Module/CoreList.pm view on Meta::CPAN
removed => {
}
},
5.019004 => {
delta_from => 5.019003,
changed => {
'Module::Build::Base' => '1',
'Module::Build::Compat' => '1',
'Module::Build::Config' => '1',
'Module::Build::ConfigData'=> '1',
'Module::Build::Cookbook'=> '1',
'Module::Build::Dumper' => '1',
'Module::Build::ModuleInfo'=> '1',
'Module::Build::Notes' => '1',
'Module::Build::PPMMaker'=> '1',
'Module::Build::Platform::Default'=> '1',
'Module::Build::Platform::MacOS'=> '1',
'Module::Build::Platform::Unix'=> '1',
'Module::Build::Platform::VMS'=> '1',
'Module::Build::Platform::VOS'=> '1',
'Module::Build::Platform::Windows'=> '1',
inc/bundle/Module/CoreList.pm view on Meta::CPAN
},
removed => {
}
},
5.019007 => {
delta_from => 5.019006,
changed => {
'CGI' => '1',
'CGI::Apache' => '1',
'CGI::Carp' => '1',
'CGI::Cookie' => '1',
'CGI::Fast' => '1',
'CGI::Pretty' => '1',
'CGI::Push' => '1',
'CGI::Switch' => '1',
'CGI::Util' => '1',
},
removed => {
}
},
5.019008 => {
inc/bundle/Module/CoreList.pm view on Meta::CPAN
}
},
5.021000 => {
delta_from => 5.020000,
changed => {
},
removed => {
'CGI' => 1,
'CGI::Apache' => 1,
'CGI::Carp' => 1,
'CGI::Cookie' => 1,
'CGI::Fast' => 1,
'CGI::Pretty' => 1,
'CGI::Push' => 1,
'CGI::Switch' => 1,
'CGI::Util' => 1,
'Module::Build' => 1,
'Module::Build::Base' => 1,
'Module::Build::Compat' => 1,
'Module::Build::Config' => 1,
'Module::Build::ConfigData'=> 1,
'Module::Build::Cookbook'=> 1,
'Module::Build::Dumper' => 1,
'Module::Build::ModuleInfo'=> 1,
'Module::Build::Notes' => 1,
'Module::Build::PPMMaker'=> 1,
'Module::Build::Platform::Default'=> 1,
'Module::Build::Platform::MacOS'=> 1,
'Module::Build::Platform::Unix'=> 1,
'Module::Build::Platform::VMS'=> 1,
'Module::Build::Platform::VOS'=> 1,
'Module::Build::Platform::Windows'=> 1,
inc/bundle/Term/UI.pm view on Meta::CPAN
and over again. You can use more sophisticated C<allow> handlers (even
subroutines can be used). The C<allow> handler is implemented using
C<Params::Check>'s C<allow> function. Check its manpage for details.
=head2 an elaborate ask_yn sample
### ask a user if he likes cookies. Default to a sensible 'yes'
### and inform him first what cookies are.
$bool = $term->ask_yn( prompt => 'Do you like cookies?',
default => 'y',
print_me => 'Cookies are LOVELY!!!' );
would print:
Cookies are LOVELY!!!
Do you like cookies? [Y/n]:
If a user then simply hits C<enter>, agreeing with the default,
C<$bool> would be set to C<true>. (Simply hitting 'y' would also
return C<true>. Hitting 'n' would return C<false>)
We could later retrieve this interaction by printing out the Q&A
history as follows:
print $term->history_as_string;
which would then print:
Cookies are LOVELY!!!
Do you like cookies? [Y/n]: y
There's a chance we're doing this non-interactively, because a console
is missing, the user indicated he just wanted the defaults, etc.
In this case, simply setting C<$Term::UI::AUTOREPLY> to true, will
return from every question with the default answer set for the question.
Do note that if C<AUTOREPLY> is true, and no default is set, C<Term::UI>
will warn about this and return C<undef>.