home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!convex!convex!tchrist
- From: Tom Christiansen <tchrist@convex.COM>
- Subject: Re: Wanted: file descriptor management
- Originator: tchrist@pixel.convex.com
- Sender: usenet@news.eng.convex.com (news access account)
- Message-ID: <1992Nov13.214508.26039@news.eng.convex.com>
- Date: Fri, 13 Nov 1992 21:45:08 GMT
- Distribution: comp
- Reply-To: tchrist@convex.COM (Tom Christiansen)
- References: <LMJM.92Nov13204226@swan.doc.ic.ac.uk>
- Nntp-Posting-Host: pixel.convex.com
- Organization: Convex Computer Corporation, Colorado Springs, CO
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
- Lines: 14
-
- From the keyboard of lmjm@doc.ic.ac.uk (Lee M J McLoughlin):
- :I'm writing a program that needs to process input lines a bit like
- :cpp. In particular I need to be able to implement a #include -like
- :mechanism. So I'm looking for a library that I can use to mangage
- :file descriptors so that when I switch file, on an include, I can
- :switch back to my original file when I'm done.
- :
- :If anyone has such a library or can point me at something I can turn
- :into such a library I'd be most greatful.
-
- Try the cacheout() routine from the Perl library. I also have
- a cachein() routine as well.
-
- --tom
-