in reply to Re: matching POD footnote
in thread matching POD footnote

Thnx, but I really need to do it without using any POD-Parser.

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

    Why?

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

      this is an exercise

      no parsing modules allowed :(

        OK, that's a good reason.

        I was expecting you to say that you were unable to install any modules (for some reason), in which case I'd counter with the fact that Pod::Parser comes pre-installed with Perl.

        package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
        I have to say, a very stupid exercise!

        you can only show how to write either incomplete or redundant code.

        Cheers Rolf

        ( addicted to the Perl Programming Language)

        UPDATE

        to answer AnoMonk:

        Duplicating the POD-grammar in a separate parser is practically the same sin like writing a source filter for Perl code.

        So either incomplete or redundant code, like already said!