File: simple.pl

package info (click to toggle)
librdf-doap-perl 0.105-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 324 kB
  • sloc: perl: 1,063; sh: 4; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 224 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
use strict;
use warnings;

use RDF::DOAP;

my $url  = 'http://api.metacpan.org/source/TOBYINK/MooX-ClassAttribute-0.008/META.ttl';
my $doap = 'RDF::DOAP'->from_url($url);
my $proj = $doap->project;

print $proj->dump_json;