home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!s6.math.umn.edu!rantapaa
- From: rantapaa@s6.math.umn.edu (Erik E. Rantapaa)
- Subject: Re: Seemingly Small Feature
- Message-ID: <rantapaa.712564719@s6.math.umn.edu>
- Sender: news@news2.cis.umn.edu (Usenet News Administration)
- Nntp-Posting-Host: s6.math.umn.edu
- Organization: University of Minnesota
- References: <1992Jul31.000738.15881@math.ucla.edu>
- Distribution: na
- Date: Fri, 31 Jul 1992 06:38:39 GMT
- Lines: 20
-
- jbence@julia.math.ucla.edu (James K. Bence) writes:
-
- >I would like to be able to reset the iterator that each,keys,values use
- >when I want, rather than being forced to go thru the whole array. Is
- >this an unreasonable feature?
-
- How about something like this:
-
- loop: {
- for $x (@array) {
- ...
- redo loop if some condition;
- ...
- }
- }
- --
- Erik Rantapaa rantapaa@math.umn.edu
-
-
- Life is a whim of several billion cells to be you for a while.
-