Description
Perl tests and tools can capture standard output and error streams from Perl code, subprocesses, or XS extensions. This is useful for test assertions, diagnostics, wrappers, and hiding noisy commands.
It is a developer library. Captured output may contain credentials, paths, or private data, so logs and test artifacts should be handled carefully.