in reply to Reading from STDERR

Are you looking for something like this?
#!/usr/bin/perl use strict; use IO::Scalar; use Data::Dumper; my $str; my $io = tie *STDERR, 'IO::Scalar', \$str; print STDERR 'foobar'; print Dumper($str);

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh