Steffen Mueller wrote:

> Since nobody answered to my previous suggestion, I just 

Sorry, that post never made it to my mailbox.

> The diffs for ScanDeps.pm and PAR/Filter/PatchContent.pm are 
> attached. 

The Module::ScanDeps patch seems to do the job, but is there
a reason why you implemented the search strategy for
perldiag.pod differently from diagnostics.pm?

The PAR patch will now read correctly perldiag.pod from the zip,
but the regex in the last line

       for(map "$_\\n\\n", split/\\r?\\n(?:\\r?\\n)*/, $contents) ',

results in a blank line inserted after each line 
grabbed from the pod (this regex is unchanged by your
patch - seems nobody noticed this behaviour before). The split
is supposed to mimick reading perldiag.pod "by paragraphs",
i.e. with $/="". The following

       for(map "$_\\n\\n", split/(?:\\r?\\n){2,}/, $contents) ',

does the trick. Tested on Solaris 9 (Perl 5.8.0) and
Cygwin (Perl 5.8.7).

Cheers, Roderich

Reply via email to