#!/usr/bin/perl open OTHER, ">/dev/stdout"; while () { print STDOUT $_; print OTHER $_; }