James deBoer <[EMAIL PROTECTED]> wrote:

> Sorry for the delay, but here is a revised patch to detect perldoc.

No problem, and thanks, applied.

This looks a bit bulky ...

> +     Configure::Data->set(perldoc => 0);
> +     Configure::Data->set(notperldoc => 1);

... but given that I didn't even know that ...

> +#CONDITIONED_LINE(notperldoc):docs : docs.stub

... this syntax exists, it's a nice solution.

Slightly more elegant is probably a small extension in
lib/Parrot/Configure/Step.pm that handles something like:

 #CONDITIONED_LINE(! perldoc):docs : docs.stub

leo

Reply via email to