Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

parse::debcontrol::patch(3pm) [debian man page]

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@cpan.org>. Parse::DebControl::Patch is copyright 2009 Carl FA~Xrstenberg <azatoth@gmail.com>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-04-18 Parse::DebControl::Patch(3pm)

Check Out this Related Man Page

Parse::ErrorString::Perl(3pm)				User Contributed Perl Documentation			     Parse::ErrorString::Perl(3pm)

NAME
Parse::ErrorString::Perl - Parse error messages from the perl interpreter VERSION
version 0.15 SYNOPSIS
use Parse::ErrorString::Perl; my $parser = Parse::ErrorString::Perl->new; # or: my $parser = Parse::ErrorString::Perl->new(lang => 'FR') # to get localized explanations my @errors = $parser->parse_string($string_containing_stderr_output); foreach my $error(@errors) { print 'Captured error message "' . $error->message . '" in file ' . $error->file . ' on line ' . $error->line . " "; } METHODS
new(lang => $lang) Constructor. Receives an optional "lang" parameter, specifying that error explanations need to be delivered in a language different from the default (i.e. English). Will try to load "POD2::$lang::perldiag". parse_string($string) Receives an error string generated from the perl interpreter and attempts to parse it into a list of "Parse::ErrorString::Perl::ErrorItem" objects providing information for each error. SEE ALSO
splain ACKNOWLEDGEMENTS
Part of this module is based on code from splain. BUGS
Please report any bugs or feature requests to "bug-parse-errorstring-perl at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Parse-ErrorString-Perl>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc Parse::ErrorString::Perl o RT: CPAN's request tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Parse-ErrorString-Perl> o AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/Parse-ErrorString-Perl> o CPAN Ratings <http://cpanratings.perl.org/d/Parse-ErrorString-Perl> o Search CPAN <http://search.cpan.org/dist/Parse-ErrorString-Perl/> AUTHORS
o Petar Shangov, "<pshangov at yahoo.com>" o Gabor Szabo <http://szabgab.com/> o Ahmad M. Zawawi <ahmad.zawawi@gmail.com> COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Petar Shangov. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.10.1 2010-11-29 Parse::ErrorString::Perl(3pm)
Man Page