line |
l |
!l&&r |
!l&&!r |
condition |
44
|
0 |
5 |
0 |
$ua ||= 'LWP::UserAgent'->new('agent', sprintf('%s/%s ', 'HTML::HTML5::Parser', 'HTML::HTML5::Parser'->VERSION), 'default_headers', 'HTTP::Headers'->new('Accept', 'text/html, application/xhtml+xml;q=0.9, application/xml;q=0.1, text/xml;q=0.1'), 'parse_head', 0) |
82
|
0 |
2 |
0 |
$ua ||= 'HTTP::Tiny'->new('agent', sprintf('%s/%s', 'HTML::HTML5::Parser', 'HTML::HTML5::Parser'->VERSION), 'default_headers', {'Accept', 'text/html, application/xhtml+xml;q=0.9, application/xml;q=0.1, text/xml;q=0.1'}) |
124
|
0 |
1 |
0 |
$content ||= do {
if (open my $fh, '<', $file) {
local $/ = readline $fh;
}
else {
$status = 418;
$reason = q[I'm a teapot];
$content_type = 'text/plain';
$!;
}
} |