Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!sdd.hp.com!wuarchive!psuvax1!news From: flee@cs.psu.edu (Felix Lee) Newsgroups: comp.lang.perl Subject: Re: Add 'continue' to 'foreach'? Message-ID: Date: 8 May 91 16:54:14 GMT References: <1991May8.015608.19707@uvaarpa.Virginia.EDU> Sender: news@cs.psu.edu (Usenet) Organization: Penn State Computer Science Lines: 11 Nntp-Posting-Host: dictionopolis.cs.psu.edu >How about adding an optional continue block to the foreach statement? Guess what. It's already there. You can add continue blocks to any sort of loop, and even "if" statements, although I'm not sure what that means. You can also add "else" and "elsif" statements to any sort of loop, though I'm even less sure what that means. It seems to elicit panics. -- Felix Lee flee@cs.psu.edu