in reply to Re: 'if' pragma and modules with an empty import list
in thread 'if' pragma and modules with an empty import list

G'day ikegami,

Thanks for the feedback.

It does also talk about no ARGUMENTS but, you are correct, ARGUMENTS being an empty list is not mentioned.

The BUGS section already says it doesn't handle VERSION. I was going to suggest adding "empty list" to that.

"At a minimum, provide a recommended alternative."

In my OP, I proposed a workaround along the lines of:

BEGIN { require MODULE if CONDITION }

I'll assume that's adequate; however, if you had something more substantial in mind, please advise. Thanks.

— Ken

Replies are listed 'Best First'.
Re^3: 'if' pragma and modules with an empty import list
by ikegami (Patriarch) on Apr 11, 2017 at 18:57 UTC

    In my OP, I proposed a workaround along the lines of:

    I meant: Please provide *specific* wording changes (if not a patch).

      Thanks for clarifying that. I'll post the ticket number when it's done.

      — Ken