CPAN-Mini-Inject-Server
view release on metacpan or search on metacpan
lib/CPAN/Mini/Inject/Server.pm view on Meta::CPAN
155156157158159160161162163164165166167168169170171172173174175
return
;
}
# end of subroutine add
=head2 update
Updates the cpan mirror
=cut
sub
update :Runmode {
my
$self
=
shift
;
my
$mcpi
=
$self
->_mcpi();
$mcpi
->update_mirror();
$mcpi
->inject();
$self
->header_add(
-status
=>
'202 Mirror updated'
);
return
;
}
# end of subroutine update
( run in 0.594 second using v1.01-cache-2.11-cpan-bb97c1e446a )