home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / perl / 5778 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  981 b 

  1. Path: sparky!uunet!pipex!demon!cix.compulink.co.uk!pmoore
  2. Newsgroups: comp.lang.perl
  3. From: pmoore@cix.compulink.co.uk (Paul Moore)
  4. Subject: Re: Prompting for input
  5. Reply-To: pmoore@cix.compulink.co.uk
  6. Date: Tue, 8 Sep 1992 20:18:10 +0000
  7. Message-ID: <memo.616870@cix.compulink.co.uk>
  8. Sender: usenet@gate.demon.co.uk
  9. Lines: 17
  10.  
  11.  
  12. In his posting, James Gillespie says:
  13.   > pause.  It appears to me that there must be something left
  14.   > on STDIN as a result of entering the string "n\n", but I
  15.   > can't find anything in the Camel book about such an
  16.   > occurrence, or how to "suck" 
  17.  
  18. Er - what about the "\n"? getc only gets a single character.
  19.  
  20. Gustav.
  21.  
  22. ------------------------------------------------------------------------
  23. Paul Moore (pmoore@cix.compulink.co.uk)   |
  24. ------------------------------------------------------------------------
  25. Programming is the process of debugging an empty source file
  26. ------------------------------------------------------------------------ 
  27.  
  28.