$file_parser->parse_paras(\@paras, $message)
Parse the paragraphs paras. Paras can either be strings, in which case they'll be considered plain texts. Or they can be hash refs with the key 're' pointing to a regex string.
Here's an example:
my @synopsis_paras = (
'=head1 SYNOPSIS',
'Quick summary of what the module does.',
'Perhaps a little code snippet.',
{ re => q{\s*} . quotemeta(q{use MyModule::Test;}), },
{ re => q{\s*} .
quotemeta(q{my $foo = MyModule::Test->new();})
. q{\n\s*} . quotemeta("..."), },
);
$mod1->parse_paras(
\@synopsis_paras,
'MyModule::Test - SYNOPSIS',
);
$file_parser->parse_file_start
Parse the file based on the filename. This will have various templates on how to parse files of that type.
NAME
t/test-dist.t - test the integrity of prepared distributions.
AUTHOR
Shlomi Fish, http://www.shlomifish.org/ Heavy revamp by Brendan Byrd, BBYRD@CPAN.org