in reply to matching POD footnote

What outcome are you looking for?

-Michael

Replies are listed 'Best First'.
Re^2: matching POD footnote
by anek77713 (Acolyte) on Jul 18, 2013 at 08:27 UTC
    substitute this:
    N<See U<http://search.cpan.org/perldoc?App::perlbrew> for installation instructions.>.

    whit this:

    <font class="footnote">See U<http://search.cpan.org/perldoc?App::perlbrew> for installation instructions.</font>.

      Can you explain what  my @file = <DATA>; does?

      Can you explain what  s/$Npod/$N$1$n/s for @file; does?

      At what point does $_ contain multiple lines?

      Basic debugging checklist, $_ never contains more than one line

        my @file = <DATA>; - assigns the text from the file to an array.

        s/$Npod/$N$1$n/s for @file;

        - replaces N<..(some text)..>

        with <font class="footnote">..(some text)..</font>

        and this is the problem... It does not work :(