---
name: "Test::Output::Tie"
section: "3pm"
platform: "linux"
package: "libtest-output-perl"
version: "1.01-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Test::Output::Tie"
---

# Test::Output::Tie(3pm)

module used by Test::Output to tie STDERR and STDOUT

## NAME

Test::Output::Tie - module used by Test::Output to tie STDERR and STDOUT

## DESCRIPTION

You are probably more interested in reading Test::Output.

This module is used to tie STDOUT and STDERR in Test::Output.

### Methods

- TIEHANDLE

  The constructor for the class.

- PRINT

  This method is called each time STDERR or STDOUT are printed to.

- PRINTF

  This method is called each time STDERR or STDOUT are printed to with `"printf"`.

- FILENO

  - BINMODE

  - read

  This function is used to return all output printed to STDOUT or STDERR.

## AUTHOR

Currently maintained by brian d foy, `"bdfoy@cpan.org"`.

Shawn Sorichetti, `"<ssoriche@cpan.org>"`

## SOURCE AVAILABILITY

This module is in Github:

```
        http://github.com/briandfoy/test-output/tree/master
```

## COPYRIGHT & LICENSE

Currently maintained by brian d foy, `"bdfoy@cpan.org"`.

Copyright 2005-2008 Shawn Sorichetti, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

## ACKNOWLEDGMENTS

This code was taken from Test::Simple's TieOut.pm maintained  Michael G Schwern. TieOut.pm was originally written by chromatic.

Thanks for the idea and use of the code.
