The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

StringHandleTier - implementation class to which file handles are tied. See TaskForest::StringHandle;

SYNOPSIS

 my $obj = tie(*STDOUT, 'TaskForest::StringHandleTier');
                            # STDOUT is now tied to the class
 print "Booyah!";           # @$obj is ['Booyah!']
 $data = $obj->getData;     # $data eq 'Booyah!'
 undef $obj;                # get rid of reference to STDOUT
 untie(*STDOUT);            # STDOUT is 'back to normal'
 print "Hello, world!\n";   # printed to stdout

DESCRIPTION This is a helper class that does the actual tying. Inspired by the examples in Chapter 14 of the Camel book.