DOKK / manpages / debian 12 / librdf-perl / RDF::Redland::URI.3pm.en
RDF::Redland::URI(3pm) User Contributed Perl Documentation RDF::Redland::URI(3pm)

RDF::Redland::URI - Redland RDF URI Class

  use RDF::Redland;
  my $uri=new RDF::Redland::URI("http://example.com/");
  my $uri2=RDF::Redland::URI->new_from_uri($uri);
  print $uri2->as_string,"\n";

Represents a URI as a mostly-opaque object for identifying things in the RDF world. The URIs are also used for identifying features for the RDF::Redland::Parser and RDF::Redland::Serializer classes.

Create a new RDF::Redland::URI object from a URI string.
Copy a RDF::Redland::URI

Return the statement formatted as a string (UTF-8 encoded).
Return non zero if this uri is equal to URI

Create a new RDF::Redland::URI object from RDF::Redland::URI URI (copy constructor). Instead use:

  $u=$uri->clone
    

RDF::Redland::Parser

Dave Beckett - http://www.dajobe.org/

2023-01-31 perl v5.36.0