App-cpangitify
view release on metacpan or search on metacpan
t/lib/Test2/Plugin/HTTPTinyFile.pm view on Meta::CPAN
{
die "TODO";
}
elsif(-r $path)
{
if($method eq 'GET')
{
eval {
use autodie;
open my $fh, '<', $path;
binmode $fh;
local $/;
$content = <$fh> if $method eq 'GET';
close $fh;
};
if($@)
{
$result->{success} = 0;
$result->{status} = 599;
$result->{reason} = 'Internal Exception';
}
( run in 0.515 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )