Parse::DebControl::Patch(3pm) - phpMan

Command: man perldoc info search(apropos)  


Parse::DebControl::Patch(3pm)  User Contributed Perl Documentation  Parse::DebControl::Patch(3pm)

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 AT cpan.org>.
       Parse::DebControl::Patch is copyright 2009 Carl Furstenberg <azatoth AT gmail.com>.  This
       program is free software; you can redistribute it and/or modify it under the same terms as
       Perl itself.

perl v5.32.0                                2020-12-28              Parse::DebControl::Patch(3pm)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-03-10 17:57 @18.188.243.252 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!