in reply to Generating a readline error

Is there some sort of mock IO object available? How about a tie interface with the real IO object on the back end, but injecting your errors at the right point?

Update: Data::Storage::Mock perhaps?

--MidLifeXis

The tomes, scrolls etc are dusty because they reside in a dusty old house, not because they're unused. --hangon in this post

Replies are listed 'Best First'.
Re^2: Generating a readline error
by ikegami (Patriarch) on Jul 17, 2009 at 18:04 UTC
    I'm testing Perl itself, so using a tied object is not ideal.
        Why? And which section of the linked document applies?