home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!news.cerf.net!netlabs!lwall
- From: lwall@netlabs.com (Larry Wall)
- Subject: Re: In search of good idioms.
- Message-ID: <1992Dec17.212650.22416@netlabs.com>
- Sender: news@netlabs.com
- Nntp-Posting-Host: scalpel.netlabs.com
- Organization: NetLabs, Inc.
- References: <BzCw1H.H24@NeoSoft.com>
- Date: Thu, 17 Dec 1992 21:26:50 GMT
- Lines: 17
-
- In article <BzCw1H.H24@NeoSoft.com> claird@NeoSoft.com (Cameron Laird) writes:
- : The natural expressions of this problem involve an
- : abstract data type, "collection of (sub)permutations",
- : or its proceduralization by way of a parametrized re-
- : cursion.
-
- Uh, did I just hear you say something about "natural"?
-
- :-)
-
- Definitional problems are generally better solved in a functional
- language, but Perl can pass lists around and do recursion, and can
- emulate sets with associative arrays, for what it's worth. You can
- also do rudimentary data hiding with packages. If you want more
- abstraction than that, you have to wait for Perl 5.
-
- Larry
-