cpan2doap - generate DOAP data from a CPAN distribution's root directory
cpan2doap [options]
The cpan2doap command generates DOAP data in either RDF/XML or Turtle serialization from the 'META.json' and 'Changes' files often found in a CPAN distribution's root directory.
Input file name conforming to CPAN::Meta::Spec. Defaults to 'META.json'.
Input file name conforming to CPAN::Changes::Spec. Defaults to 'Changes'.
File name for output. Defaults to 'doap.rdf'.
Output format. One of 'xml', 'ttl' or 'auto'.
Shows help.
Show version information.
For many distributions, accepting the defaults is adequate:
cpan2doap
For older distributions which use 'META.yml' instead of 'META.json':
cpan2doap -m META.yml
To output data in Turtle format (less verbose than RDF/XML):
cpan2doap -o doap.ttl
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=RDF-DOAP-Lite.
RDF::DOAP::Lite.
Toby Inkster <tobyink@cpan.org>.
This software is copyright (c) 2013 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
To install RDF::DOAP::Lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDF::DOAP::Lite
CPAN shell
perl -MCPAN -e shell install RDF::DOAP::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.