home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.mentorg.com!sdl!not-for-mail
- From: tal@Warren.MENTORG.COM (Tom Limoncelli)
- Newsgroups: comp.lang.perl
- Subject: Re: Perl range operator
- Date: 31 Dec 1992 21:07:11 -0500
- Organization: Mentor Graphics -- IC Group
- Lines: 20
- Message-ID: <1i090fINNekb@jamal.Warren.MENTORG.COM>
- References: <1992Dec30.131700@se28.wg2.waii.com> <mcook.725814444@fendahl.dev.cdx.mot.com>
- NNTP-Posting-Host: jamal.warren.mentorg.com
- Keywords: range
-
- In <mcook.725814444@fendahl.dev.cdx.mot.com> mcook@fendahl.dev.cdx.mot.com (Michael Cook) writes:
-
-
- > @x = reverse(1..10);
- >or
- > for (reverse $x..$y)
-
- >BTW, that's the way it works in Ada, too:
-
- What a load off my shoulders! I was getting worried that Perl might
- not have enough Ada-like idioms. Now my worries are over.
-
- Sigh.
-
- Tom "My last obnoxious post of 1992" Limoncelli
-
- --
- Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.uucp (play)
-
- Unix is a trademark of, WHATT????
-