RDF::DOAP(3pm) | User Contributed Perl Documentation | RDF::DOAP(3pm) |
RDF::DOAP - an object-oriented interface for DOAP (Description of a Project) data
use feature 'say'; use RDF::DOAP; my $url = 'http://api.metacpan.org/source/DOY/Moose-2.0604/doap.rdf'; my $doap = 'RDF::DOAP'->from_url($url); my $proj = $doap->project; say $proj->name; # "Moose" say $_->name for @{ $proj->maintainer };
A little sparsely documented right now.
The RDF::DOAP class itself is mostly a wrapper for parsing RDF and building objects. Most of the interesting stuff is in the "Bundled Classes".
Otherwise, tries to guess which of the projects the input data was mostly trying to describe.
Within each of these classes, the attributes correspond roughly to the properties defined for them in the DOAP schema; however hyphens in property URIs become underscores in attribute names.
Please report any bugs to <https://github.com/kjetilk/p5-rdf-doap/issues>.
Toby Inkster <tobyink@cpan.org>. Kjetil Kjernsmo <kjetilk@cpan.org>.
This software is copyright (c) 2013 by Toby Inkster, 2017 by Kjetil Kjernsmo.
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.
2022-07-29 | perl v5.34.0 |