Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!ogicse!hsdndev!dartvax!eleazar.dartmouth.edu!xerox From: xerox@eleazar.dartmouth.edu (Jamie Osborne) Newsgroups: comp.lang.perl Subject: Easy way to peek ahead in <> Message-ID: <1991May29.004259.11825@dartvax.dartmouth.edu> Date: 29 May 91 00:42:59 GMT Article-I.D.: dartvax.1991May29.004259.11825 Sender: news@dartvax.dartmouth.edu (The News Manager) Organization: Dartmouth College, Hanover, NH Lines: 15 Is there any easy way to peek ahead using the while(<>) { construct? I want to be able to read the next line, but I don't want to advance <> yet. Help anyone? Please email me: xerox@park.dartmouth.edu -- James W. Osborne | email: xerox@mac.dartmouth.edu Systems Programmer and starving student | Disclaimer:I didn't mean it! Really! "The best thing you ever done for me is to help me take my life less seriously. It's only life, after all." -Indigo Girls