Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!caen!uflorida!bikini!thoth From: thoth@reef.cis.ufl.edu (Robert Forsman) Newsgroups: comp.lang.perl Subject: you still have to type something, silly user Message-ID: Date: 17 Apr 91 01:07:03 GMT Sender: news@uflorida.cis.ufl.EDU Distribution: comp Organization: Zik Zak Lines: 19 I have a program that maintains a database of files and their vital stats (CRC, mtime, ctime, etc). When updating, it takes a list of files from <> and when <> runs out it inquires if the user wants to update the database on file. But!, <> is empty. How do I reopen the tty for input. I have a feeling that my problem is woefully underspecified, but take a stab at it anyway. Yes, I'm probably doing things pretty goofy. I'll talk to my boss who commissioned this project and tell him about these minor problems. I'm reading files from <> and thus STDIN (the terminal) may still have input, but I want to know the politically correct way to reopen the terminal under perl anyway. A solution that works (a very fuzzy term: "works") when STDIN still has input would be the best. -- "Rob, you're stupid, and that makes you dangerous." - chess opponent I deal with Reality as you _don't_ understand it. "The way I see things, food exists to give texture to the taste of ketchup."