Volunteer needed for help with Capture::Tiny

I'm the author of Capture::Tiny, which is intended to be the only STDOUT and STDERR capture tool anyone would ever need. (See the Capture::Tiny presentation on My Talks.)

For a while, I thought I succeeded, but lately a number of test failures have been cropping up on certain platforms. While I'm distracted with many other tasks, I'm looking for a volunteer to analyze the failure reports and develop patches.

A warning: the guts of Capture::Tiny are very pithy and it involves some relatively obscure (insane?) file handle manipulations. It's not for the faint of heart or the weak in Perl skills. It's a "Tiny" module -- so everything has to be done in just a couple hundred lines of code. But if you like a challenge, you'll probably enjoy figuring it out.

Please contact me through my cpan.org email address if interested. (I.e. dagolden@ ...)


Update: Thanks to quick responses from Robin V. and Christian Walde, it's clear that several of the failures, particularly on Win32, are due to a broken alarm() function. As that's just for the test and not critical for Capture::Tiny, I'll release a new version soon that removes that from testing. Robin++, Christian++ and Perl Community++!

This entry was posted in perl programming and tagged , . Bookmark the permalink. Both comments and trackbacks are currently closed.


  1. zloyrusskiy
    Posted January 23, 2010 at 11:45 am | Permalink

    Why you module needed, if there is many other?

    If you can answer this question i can help you with tests for windows platform.

  2. dagolden
    Posted January 23, 2010 at 1:57 pm | Permalink

    This is the only module does all of these in a single module:

    * capture from STDOUT, STDERR or both

    * capture from Perl, XS or external commands

    * capture while still allowing interaction at the terminal

    * is portable across major operating systems