Xiong has asked for the wisdom of the Perl Monks concerning the following question:
Soon-to-be-released Devel::Comments has a build_requires (test) dependency on IO::Capture and friends. Other stuff in the pipeline has the same or a stronger dependency.
IO::Capture::Tie_STDx 0.05, which does the heavy lifting for various IO::Capture modules, has two bugs. It incorrectly handles say(); and it fails to implement a TELL() method.
I emailed the author, Mark REYNOLDS, over two months ago; no reply. Granted, I haven't yet made a concerted effort to contact. Given, I should. I needed these bugs fixed immediately so, that's what I did.
I have written two modules, IO::Capture::Sayfix and IO::Capture::Tellfix. Each, on load, makes a quick test to see if the corresponding bug has been fixed in the currently loaded ::Tie_STDx; if so, it does nothing; else it fixes the bug on the spot. ::Sayfix redefines PRINT(); ::Tellfix defines TELL(). This approach is intended to play well with the existing version of ::Tie_STDx as well as any future version in which either, both, or neither of these bugs are fixed.
Before writing ::Sayfix, I patched a copy of the existing ::Tie_STDx. I was told by other Monks, in no uncertain terms, that even to install such a thing locally was to ask for trouble.
Seeking some direction on how to proceed. One or more of:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dealing with IO::Capture bugs
by almut (Canon) on Aug 04, 2010 at 11:21 UTC | |
|
Re: Dealing with IO::Capture bugs
by choroba (Cardinal) on Aug 04, 2010 at 10:56 UTC | |
|
Re: Dealing with IO::Capture bugs
by Your Mother (Archbishop) on Aug 04, 2010 at 17:10 UTC | |
|
Re: Dealing with IO::Capture bugs
by Khen1950fx (Canon) on Aug 04, 2010 at 11:41 UTC | |
by Xiong (Hermit) on Aug 04, 2010 at 14:23 UTC | |
|
Re: Dealing with IO::Capture bugs
by Xiong (Hermit) on Dec 17, 2011 at 20:39 UTC |