RDF::Redland - Redland RDF Class
use RDF::Redland; my $storage=new RDF::Redland::Storage("hashes", "test", "new='yes',hash-type='memory'"); my $model=new RDF::Redland::Model($storage, ""); ...
This class initialises the Redland RDF classes.
Set SUB as the subroutine to be called on a Redland error with the error message as the single argument. For example:
RDF::Redland::set_error_handler(sub { my $msg=shift; # Do something with $msg });
The default if this is not set, is to run die $msg
Set SUB as the subroutine to be called on a Redland warning with the warning message as the single argument. For example:
RDF::Redland::set_warning_handler(sub { my $msg=shift; # Do something with $msg });
The default if this is not set, is to run warn $msg
RDF::Redland::Node, RDF::Redland::Statement, RDF::Redland::Model, RDF::Redland::Storage, RDF::Redland::Parser, RDF::Redland::Iterator, RDF::Redland::Stream, RDF::Redland::URI and RDF::Redland::RSS.
Dave Beckett - http://purl.org/net/dajobe/
To install RDF::Redland::World, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDF::Redland::World
CPAN shell
perl -MCPAN -e shell install RDF::Redland::World
For more information on module installation, please visit the detailed CPAN module installation guide.