18 Feb 2021 14:10:35 UTC
- Distribution: Debian-DEP12
- Module version: 0.1.0
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (0)
- Testers (2 / 0 / 0)
- KwaliteeBus factor: 1
- License: bsd
- Activity24 month
- Download (7.13KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionMERKYS Andrius Merkys
- SEE ALSO
Debian::DEP12 - interface to Debian DEP 12 format
use Debian::DEP12; my $meta = Debian::DEP12->new; $meta->set( 'Bug-Database', 'https://github.com/merkys/Debian-DEP12/issues' ); $meta->validate;
Debian::DEP12 is an object-oriented interface for Debian DEP 12 format, also known as debian/upstream/metadata. Primary focus of the initial development was validation and fixing of DEP 12 data.
Returns an array of fields defined in the instance in any order.
Returns value of a field.
Sets a new value for a field. Returns the old value.
Unsets value for a field. Returns the old value.
Returns a string with YAML representation.
Performs checks of DEP 12 data in the instance and returns an array of validation messages as instances of Debian::DEP12::ValidationWarning.
For the description of DEP 12 refer to https://dep-team.pages.debian.net/deps/dep12/.
Andrius Merkys, <firstname.lastname@example.org>
Module Install Instructions
To install Debian::DEP12, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Debian::DEP12
For more information on module installation, please visit the detailed CPAN module installation guide.