Handle also the curliffy files when tocing.
Jarkko Hietaniemi [Sun, 21 Sep 2003 09:22:57 +0000 (09:22 +0000)]
p4raw-id: //depot/perl@21298

pod/buildtoc

index fa26d66..d66b712 100644 (file)
@@ -343,6 +343,7 @@ sub podset {
     my $pod;
 
     while(<>) {
+       tr/\015//d;
        if (s/^=head1 (NAME)\s*/=head2 /) {
            $pod = path2modname($ARGV);
            unhead1();