Metabase::Resource::cpan3pm
Class for metabase resources
Usage
my $resource = Metabase::Resource->new('cpan:///distfile/RJBS/Metabase-Fact-0.001.tar.gz',);my $resource_meta = $resource->metadata;my $typemap = $resource->metadata_types;
Version
version 0.025
Overview
Generates resource metadata for resources of the scheme 'cpan'.
The Metabase::Resource::cpan class supports the following sub-type(s).
distfile
my $resource = Metabase::Resource->new('cpan:///distfile/RJBS/URI-cpan-1.000.tar.gz',);
For the example above, the resource metadata structure would contain the following elements:
scheme => cpantype => distfiledist_file => RJBS/URI-cpan-1.000.tar.gzcpan_id => RJBSdist_name => URI-cpandist_version => 1.000
Copyright and license
This software is Copyright (c) 2016 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.