09 Nov 2007 16:32:09 UTC
- Distribution: Module-Changes
- Module version: 0.05
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (946 / 12 / 2)
- KwaliteeBus factor: 0
- 56.93% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity24 month
- Download (30.61KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:1 non-PAUSE userMARCEL Marcel Grünauer
- BUGS AND LIMITATIONS
- COPYRIGHT AND LICENSE
Module::Changes::Parser::Free - rudimentary freeform Changes file parser
use Module::Changes; my $parser = Module::Changes->make_object_for_type('parser_free'); my $changes = $parser->parse_from_file('Changes');
This class attempts to parse a freeform Changes file into an object hierarchy representing the Changes.
It can cope with this kind of format:
Revision history for Perl extension Web::Scraper 0.17 Wed Sep 19 19:12:25 PDT 2007 - Reverted Term::Encoding support since it causes segfaults (double utf-8 encoding) in some environment 0.16 Tue Sep 18 04:48:47 PDT 2007 - Support 'RAW' and 'TEXT' for TextNode object - Call Term::Encoding from scraper shell if installed
The distribution name is expected to be the last word on the first line. The indenting of the change lines is expected to be consistent.
There's also basic support for dealing with german-style dates, so it will turn
Do Okt 18 10:09:39 CEST 2007into
Thu Oct 18 10:09:39 CEST 2007and take it from there.
The parser is by no means robust; it's more intended as quick hack to parse existing Changes files. Patches welcome.
This class inherits all methods from Module::Changes::Parser.
Takes a string containing the freeform Changes and returns a Changes object that contains all the information about releases and so on.
If you talk about this module in blogs, on del.icio.us or anywhere else, please use the
No bugs have been reported.
Please report any bugs or feature requests to
firstname.lastname@example.org, or through the web interface at http://rt.cpan.org.
See perlmodinstall for information and options on installing Perl modules.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find a CPAN site near you. Or see <http://www.perl.com/CPAN/authors/id/M/MA/MARCEL/>.
Copyright 2007 by Marcel Grünauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Module::Changes, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Module::Changes
For more information on module installation, please visit the detailed CPAN module installation guide.