in reply to Swiss army knife module for files?

Though I'm not endorsing it, you might take a look at IO::All:

IO::All References:

By geoffleach:

See Also

Updated: extra references were added later

Replies are listed 'Best First'.
Re^2: Swiss army knife module for files?
by nysus (Parson) on Apr 13, 2019 at 08:47 UTC

      Yes, IO::All was the brainchild of mad scientist Ingy aka Brian Ingerson aka Ingy Dot Net (who is also the original co-author of YAML).

      Since you are developing your own modules, you might be interested in On Interfaces and APIs, especially the "Conway's Sufficiently Advanced Technologies" section, which describes an approach to module design by another mad scientist, Damian Conway. Conway's SAT-approach can be seen in an older module by yet another mad scientist, Mark Jason Dominus aka MJD, the original author of Tie::File (found some old MJD slides on Tie::File here). While Tie::File made it into the Perl core, IO::All did not.

Re^2: Swiss army knife module for files?
by nysus (Parson) on Apr 13, 2019 at 07:54 UTC

    Ah, great find. Never even heard of it. Thanks.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

      It's been mentioned here many, many times. :P