in reply to Is it possible load optional modules from PERL5OPT?

If you're comfortable building your own Perl, perhaps you're looking for sitecustomize.pl. However, this sounds like it may also be an X/Y Problem - what does your internal module do?

  • Comment on Re: Is it possible load optional modules from PERL5OPT?

Replies are listed 'Best First'.
Re^2: Is it possible load optional modules from PERL5OPT?
by LanX (Saint) on Aug 17, 2025 at 20:12 UTC
    > However, this sounds like it may also be an X/Y Problem - what does your internal module do?

    I can't know what the OP is trying to achieve but I'm intrigued by this approach.

    One can actually have a general DEV environment where special test and debugging modules are activated by default without polluting the PROD environment with extra code.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery