in reply to matching POD footnote

you have nested POD in your pseudo-POD

N<See U<http://search.cpan.org/perldoc?App::perlbrew> for installation instructions.>.

This can hardly be fully solved with a "simple" regex, better try to extend a real POD-Parser.

Otherwise you could try to count opened and closed < > but I'm pretty sure that you'll get bitten again somewhere.

Cheers Rolf

( addicted to the Perl Programming Language)

Replies are listed 'Best First'.
Re^2: matching POD footnote
by tobyink (Canon) on Jul 18, 2013 at 09:02 UTC

    "Otherwise you could try to count opened and closed < > but I'm pretty sure that you'll get bitten again somewhere."

    Like here...

    N< See the documentation for the fat comma (C<< => >>). >

    :-)

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
Re^2: matching POD footnote
by anek77713 (Acolyte) on Jul 18, 2013 at 08:53 UTC
    Thnx, but I really need to do it without using any POD-Parser.

      Why?

      package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

        this is an exercise

        no parsing modules allowed :(