home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!spool.mu.edu!wupost!cs.utexas.edu!sun-barr!news2me.ebay.sun.com!jethro.Corp.Sun.COM!oogoody!tmhoff
- From: tmhoff@oogoody.Corp.Sun.COM (Todd Hoff)
- Newsgroups: comp.lang.perl
- Subject: Re: reopening STDOUT as another stream
- Date: 5 Sep 1992 18:27:18 GMT
- Organization: Sun Microsystems, Inc.
- Lines: 8
- Distribution: world
- Message-ID: <lahv06INN169@jethro.Corp.Sun.COM>
- References: <1992Sep5.071243.8404@netlabs.com>
- Reply-To: tmhoff@oogoody.Corp.Sun.COM
- NNTP-Posting-Host: oogoody.corp.sun.com
-
- >If you aren't running an ancient version, ordinary open should work
- >fine for that: open(STDOUT, "| lpr")
-
- Not quite what I was looking for. I have DEBUG and LOG output streams.
- Sometimes I want DEBUG and LOG to goto STDOUT, sometimes I want them to
- goto different streams. In C use freopen.
-
-
-