https://github.com/rsrchboy/cpan-metamuncher
Digest a META.yml
https://github.com/rsrchboy/cpan-metamuncher
Last synced: 3 months ago
JSON representation
Digest a META.yml
- Host: GitHub
- URL: https://github.com/rsrchboy/cpan-metamuncher
- Owner: rsrchboy
- Created: 2010-05-07T06:54:59.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2010-05-09T21:00:18.000Z (about 15 years ago)
- Last Synced: 2025-01-16T04:21:37.300Z (5 months ago)
- Language: Perl
- Homepage:
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
CPAN::MetaMuncher - Digest a META.ymlSYNOPSIS
use CPAN::MetaMuncher;# ...
my $mm = CPAN::MetaMuncher->new(module => $module_name);# or, to apply CPAN::MetaMuncher::RPMInfo and get handy rpm methods
my $mmrpm = CPAN::MetaMuncher->with_traits('RPMInfo')->new(...);# ...
DESCRIPTION
WARNING: This is VERY early code.An abstraction layer for META.yml, and possibly others. Right now we
support the META.yml spec 1.4, though this is likely to be expanded in
the future."GENERIC" METHODS
has_meta_key
meta_entry_for
meta_keys
Returns a list of all keys used by this META.yml.num_meta_keys
has_meta_keys
TRAITSFOR
This package can be composed with various traits to allow for additional
functionality, etc. (Note this is "traits" in the sense of "role layered
on top of a concrete class" rather than "metaclass role"; see, e.g., the
TraitFor packages for Catalyst.)Traits for CPAN::MetaMuncher live under the CPAN::MetaMuncher::TraitsFor
namespace.RPMInfo
Additional methods to help construct dependency info in a way RPM can
understand and use it.See CPAN::MetaMuncher::TraitsFor::RPMInfo for details.
SEE ALSO
CPAN::EasyAUTHOR
Chris WeylLICENSE AND COPYRIGHT
Copyright (c) 2009-2010 Chris WeylThis library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at
your option) any later version.This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
General Public License for more details.You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to theFree Software Foundation, Inc.
59 Temple Place, Suite 330
Boston, MA 02111-1307 USA