[SCM] librdf-ns-perl Debian packaging branch, master, updated. debian/20130208-1-22-g47de138

Jakob Voss voss at gbv.de
Fri Apr 19 13:28:40 UTC 2013


The following commit has been merged in the master branch:
commit 6474e4aaff0b69405d3a8147df7525f684df2035
Author: Jakob Voss <voss at gbv.de>
Date:   Thu Nov 3 11:43:19 2011 +0100

    see also

diff --git a/lib/RDF/NS.pm b/lib/RDF/NS.pm
index d5205dd..687415d 100644
--- a/lib/RDF/NS.pm
+++ b/lib/RDF/NS.pm
@@ -94,7 +94,7 @@ sub URI {
 
 sub AUTOLOAD {
     my $self = shift;
-    return unless $AUTOLOAD =~ /:([a-z][a-z0-9]*)(_([^:]+))?$/;
+    return unless $AUTOLOAD =~ /^.*::([a-z][a-z0-9]*)_([^:]+))?$/;
     my $ns = $self->{$1} or return;
     my $local = $3 // shift;
     return $self->GET($ns) unless defined $local;
@@ -211,6 +211,7 @@ it just returns C<$uri> unmodified.
 
 There are several other CPAN modules to deal with IRI namespaces, for instance
 L<RDF::Trine::Namespace>, L<RDF::Trine::NamespaceMap>, L<RDF::Prefixes>,
-L<RDF::Simple::NS>, L<RDF::RDFa::Parser::Profile::PrefixCC> etc.
+L<RDF::Simple::NS>, L<RDF::RDFa::Parser::Profile::PrefixCC>,
+L<Class::RDF::NS>, L<XML::Namespace>, L<XML::CommonNS> etc.
 
 =cut

-- 
librdf-ns-perl Debian packaging



More information about the Pkg-perl-cvs-commits mailing list