Subject: | Infinite Loop with Carp.pm 1.04 |
Dear Matthew Simon Cavalletto,
Hi. This is imacat from Taiwan. I found your
Devel-PreProcessor-2003.1128 hangs when doing "make test", at
t/includes.t. It goes into an infinite loop with numerous repeated
warnings as:
...
Use of uninitialized value in print at
/home/imacat/.cpan/build/Devel-PreProcessor-2003.1128-MgmelT/blib/lib/Devel/PreProcessor.pm
line 111, <GEN18> line 398.
Use of uninitialized value in pattern match (m//) at
/home/imacat/.cpan/build/Devel-PreProcessor-2003.1128-MgmelT/blib/lib/Devel/PreProcessor.pm
line 111, <GEN18> line 398.
Use of uninitialized value in print at
/home/imacat/.cpan/build/Devel-PreProcessor-2003.1128-MgmelT/blib/lib/Devel/PreProcessor.pm
line 111, <GEN18> line 398.
Use of uninitialized value in pattern match (m//) at
/home/imacat/.cpan/build/Devel-PreProcessor-2003.1128-MgmelT/blib/lib/Devel/PreProcessor.pm
line 111, <GEN18> line 398.
....
I tried to dig into your code. It seems that, after it reads
Carp.pm version 1.04 that comes with the Perl 5.8.8, it enters an
infinite loop failing to find the ending "=cut".
http://search.cpan.org/src/NWCLARK/perl-5.8.8/lib/Carp.pm
I would suggest you check for EOF to avoid such an infinite loop on
malformed POD documents.
Please tell me if you need any more information, or if I could be of
any help. Thank you.