in reply to "Inline" module testing?

I'm reminded of Modules as executable scripts? (also Rescue legacy code with modulinos), which looks similar in some ways to your use case.

Replies are listed 'Best First'.
Re^2: "Inline" module testing?
by LanX (Saint) on Aug 15, 2017 at 16:07 UTC
    I like and use the modulino concept to run my test suites.

    > I'm reminded of "Modules as executable scripts?"

    Because it's the mirrored approach, I want to embed a fake module into a runnable script.pl .

    But in hindsight it's probably better to use the modulino approach right from the beginning to avoid later migration costs.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

      Modulinos the evil gimmick? Seriously?