ODO::Parser - Generic parser interface for ODO RDF Parsers
my $statements = ODO::Parser::XML->parse_file('some/path/to/data.rdfxml'); my $rdf = ' ... rdf xml here ... '; my $other_statements = ODO::Parser::XML->parse(\$rdf);
This specifies the base interface for parsing RDF in ODO. RDF parsers must support the two functions defined here: parse and parse_file.
Parse RDF from the scalar or scalarref parameter. An arrayref of ODO::Statement objects will be returned.
Parse RDF from the file parameter. An arrayref of ODO::Statement objects will be returned.
Copyright (c) 2006 IBM Corporation.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
To install PLUTO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PLUTO
CPAN shell
perl -MCPAN -e shell install PLUTO
For more information on module installation, please visit the detailed CPAN module installation guide.