Next Making Programs Faster 69

parse_text

     elsif ( /^([A-Z])(<(?:<+\s)?)$/ ) {
       ## Push a new sequence onto the stack of those "in-progress"
       ($cmd, $ldelim) = ($1, $2);
       $seq = Pod::InteriorSequence->new(
                  -name   => $cmd,
                  -ldelim => $ldelim,  -rdelim => '',
                  -file   => $file,    -line   => $line
              );
       $ldelim =~ s/\s+$//, ($rdelim = $ldelim) =~ tr/</>/;
       (@seq_stack > 1)  and  $seq->nested($seq_stack[-1]);
       push @seq_stack, $seq;
     }

Next Copyright © 2003 M. J. Dominus