in reply to How to Test Output from the Standard Output

See Tie::STDOUT or Capture::Tiny.
  • Comment on Re: How to Test Output from the Standard Output