/usr/share/doc/libxrd-parser-perl/examples/hostmeta.pl is in libxrd-parser-perl 0.201-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | use XRD::Parser;
my $parser = XRD::Parser->hostmeta('gmail.com');
$parser->consume;
my $data = $parser->graph->as_stream;
while (my $st = $data->next)
{
print $st->as_string . "\n";
}
|