CPAN-Recent-Uploads
view release on metacpan or search on metacpan
t/01-recent.t view on Meta::CPAN
id/A/AD/ADAMK/YAML-Tiny-1.36.tar.gz
id/J/JO/JONATHAN/Perl6/NativeCall-v1.tar.gz
);
my $yaml = YAML::XS::Dump( { recent => [ map { { path => $_, type => 'new', epoch => (time() - (60*20)) } } @data ] } );
my $D = shift || '';
if ($D eq 'daemon') {
require HTTP::Daemon;
require File::Spec;
my $d = HTTP::Daemon->new(LocalAddr => '127.0.0.1', Timeout => 10);
print "Please to meet you at: <URL:", $d->url, ">\n";
open( STDOUT, '>', File::Spec->devnull );
while( my $c = $d->accept ) {
my $r = $c->get_request;
if ( $r ) {
require HTTP::Response;
my $resp = HTTP::Response->new( 200 );
$resp->protocol('HTTP/1.1');
$resp->header('Content-Type', 'application/octet-stream');
$resp->header('Connection', 'close');
( run in 0.238 second using v1.01-cache-2.11-cpan-4d50c553e7e )