On Sun, 12 Dec 2004 15:33:44 -0600, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Trying to see something of how it works: > > #!/usr/local/bin/perl -w > use IO::Tee; > my ($handle1, $handle2); > $handle1 = "./one" > $handle2 = "./two" > $tee = IO::Tee->new($handle1, $handle2); I have never used this module before in my life, but are you sure $handle1 and $handle2 aren't supposed to be refs to actual File-Handles? ie my $handle1; my $file = "/foo/bar/file.txt"; open($handle1, $file) or die("Can't open $file: $!\n"); Tor -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>