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