{
    "mode": "perldoc",
    "parameter": "Parse::DebControl::Patch",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Parse%3A%3ADebControl%3A%3APatch/json",
    "generated": "2026-06-10T16:27:10Z",
    "synopsis": "use Parse::DebControl::Patch\n$parser = new Parse::DebControl::Patch;\n$data = $parser->parsemem($controldata, $options);\n$data = $parser->parsefile('./debian/control', $options);\n$data = $parser->parseweb($url, $options);",
    "sections": {
        "NAME": {
            "content": "Parse::DebControl::Patch - Easy OO parsing of debian patch file metadata (DEP3) data\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Parse::DebControl::Patch\n\n$parser = new Parse::DebControl::Patch;\n\n$data = $parser->parsemem($controldata, $options);\n$data = $parser->parsefile('./debian/control', $options);\n$data = $parser->parseweb($url, $options);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The patch-file metadata specification (DEP3) diverts from the normal debian/control\nrules primarly of the \"free-form\" field specification. To handle this we most create\nan parser specifically for this format and hardcode these rules direclty into the code.\n\nAs we will always only have one block of data, we will return the hashref directly\ninstead of enclosing it into an array.\n\nThe field B<Forwarded> is magic and will always exists in the out data, even if not specified\nin the indata. It can only have three values, I<yes>, I<no>, and I<not-needed>. If not specified\nit will have the value I<yes>.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Parse::DebControl is copyright 2003,2004 Jay Bonci <jaybonci@cpan.org>. Parse::DebControl::Patch\nis copyright 2009 Carl Fürstenberg <azatoth@gmail.com>. This program is free software; you can\nredistribute it and/or modify it under the same terms as Perl itself.\n",
            "subsections": []
        }
    },
    "summary": "Parse::DebControl::Patch - Easy OO parsing of debian patch file metadata (DEP3) data",
    "flags": [],
    "examples": [],
    "see_also": []
}