Dist-Surveyor

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.015     2016-06-11 21:51:03-04:00 America/New_York
	- Sort generated 02packages case insensitively (miyagawa)
	- Use HTTP::Tiny instead of LWP::UserAgent
	- Use JSON::MaybeXS instead of JSON

0.014     2016-06-11 17:48:44-04:00 America/New_York
	- Corrected prereqs
	- Various fixes to distribution packaging

0.013     2013-07-09 16:19:07 Asia/Tokyo
	- Adding keep_alive to connections - major speedup

0.011     2013-07-08 16:11:57 Asia/Tokyo

0.010     2013-07-05 11:15:05 Asia/Tokyo
	- Major refactoring done
	- A fatpacked version created

0.009     2013-02-20 15:45:32 Asia/Tokyo
	- Bugfix - including is_error from LWP::Simple

lib/Dist/Surveyor/Inquiry.pm  view on Meta::CPAN

    get_release_info
};

my $agent_string = "dist_surveyor/$VERSION";

my ($ua, $wget, $curl);
if (HTTP::Tiny->can_ssl) {
    $ua = HTTP::Tiny->new(
        agent => $agent_string,
        timeout => 10,
        keep_alive => 1, 
    );
} else { # for fatpacking support
    require File::Which;
    require IPC::System::Simple;
    $wget = File::Which::which('wget');
    $curl = File::Which::which('curl');
}

sub _https_request {
    my ($method, $url, $headers, $content) = @_;



( run in 0.576 second using v1.01-cache-2.11-cpan-39bf76dae61 )