Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Swiss army knife module for files?

by eyepopslikeamosquito (Bishop)
on Apr 13, 2019 at 00:05 UTC ( #1232526=note: print w/replies, xml ) Need Help??


in reply to Swiss army knife module for files?

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

Update: further reference added later: Ingy's "Swiss Army Light Sabre" - or, "how do you design your APIs?"

Replies are listed 'Best First'.
Re^2: Swiss army knife module for files?
by nysus (Vicar) 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 (Vicar) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1232526]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2020-06-02 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (19 votes). Check out past polls.

    Notices?