ODO::Serializer::NTriples - Serialize statements to NTriples file format
use ODO::Statement; use ODO::Serializer::NTriples; my @statements = ( ODO::Statement->new(...), ODO::Statement->new(...) ); my $serialzed_text = ODO::Serializer::Ntriples->serialize(\@statements); # or ... ODO::Serializer::NTriples->serialize(\@statements, \*STDOUT); # or ... open(OUTFILE, ">output") or die("Unable to open file named 'output' for writing"); ODO::Serializer::NTriples->serialize(\@statements, \*OUTFILE);
Use the ODO::Serializer interface to serialze statements to NTriples format.
Serialize the arrayref of ODO::Statement objects to NTriples text. If the output file handle is left unspecified the serialized text is returned.
Copyright (c) 2005-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.