/usr/share/perl5/RDF/NS/URIS.pm is in librdf-ns-perl 20150725-1.
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 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | package RDF::NS::URIS;
use v5.10;
use strict;
use warnings;
our $VERSION = '20150725';
use URI;
use base 'RDF::NS';
sub GET {
URI->new($_[1]);
}
1;
__END__
=head1 NAME
RDF::NS::URIS - Popular RDF namespace prefixes from prefix.cc as URI objects
=head1 SYNOPSIS
use RDF::NS::URIS;
use constant NS => RDF::NS::URIS->new('20150725');
NS->foaf_Person; # an URI object
NS->uri('foaf:Person); # same
NS->foaf_Person->as_string; # http://xmlns.com/foaf/0.1/Person
=head1 DESCRIPTION
RDF::NS::URIS works like L<RDF::NS> but it returns instances of L<URI> instead
of plain strings. You must have installed module L<URI> to use this package.
=head1 SEE ALSO
L<URI::NamespaceMap>
=encoding utf8
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2013- by Jakob Voß.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
|