I may not have gotten exactly the gist of what you wanted here, but cat tee.pl | tee junk >anotherprog would run cat on tee.pl, save stdout in junk and pass it on to anotherprog. In this case, nothing gets printed to the screen (unless you tee again, which is also possible!).