http://www.perlmonks.org?node_id=991254


in reply to Re: How do you test code that uses Term::UI?
in thread [Updated] How do you test code that uses Term::UI?

There is another option, mock object