Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Parse::DebControl::Patch

Name Parse::DebControl::Patch
Version 0.1
Located at /usr/share/perl5
File /usr/share/perl5/Parse/DebControl/Patch.pm
Is Core No
Search CPAN for this module Parse::DebControl::Patch
Documentation Parse::DebControl::Patch
Module Details Parse::DebControl::Patch


NAME

Parse::DebControl::Patch - Easy OO parsing of debian patch file metadata (DEP3) data


SYNOPSIS

    use Parse::DebControl::Patch
    $parser = new Parse::DebControl::Patch;
    $data = $parser->parse_mem($control_data, $options);
    $data = $parser->parse_file('./debian/control', $options);
    $data = $parser->parse_web($url, $options);


DESCRIPTION

    The patch-file metadata specification (DEP3) diverts from the normal debian/control
    rules primarly of the "free-form" field specification. To handle this we most create
    an parser specifically for this format and hardcode these rules direclty into the code.
    As we will always only have one block of data, we will return the hashref directly
    instead of enclosing it into an array.
    The field B<Forwarded> is magic and will always exists in the out data, even if not specified
    in the indata. It can only have three values, I<yes>, I<no>, and I<not-needed>. If not specified
    it will have the value I<yes>.


COPYRIGHT

Parse::DebControl is copyright 2003,2004 Jay Bonci <jaybonci@cpan.org>. Parse::DebControl::Patch is copyright 2009 Carl Fürstenberg <azatoth@gmail.com>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026