>>>>> "SC" == Simon Cozens <[EMAIL PROTECTED]> writes:
SC> On Mon, Mar 26, 2001 at 04:36:35PM -0500, Uri Guttman wrote:
>> and even creating a function to extract the key is not for
>> beginners in many case. most of the time i see issues with the ST
>> is with key extraction.
SC> With all due respect, that's not been my experience. Even
SC> beginners know how to do things like "length", by far the most
SC> common case for the ST.
well, you must be hanging around smart newbies. :) i can't count the
number of times i have seen in c.l.p.misc the question "how can i find
the length of a string?" we even have a running gag calling that and
similar ones "self answering questions".
still, a module which takes the same type of arguments and supports
multiple keys would be a better choice than a new builtin IMO. the
operator you propose is more complex than almost any other and it just
serves to make one algorithmic trick have a better syntax. but a module
can do the same thing. larry has the final say here and i feel he won't
want to burden the language with this just for a small gain that can be
done in a module.
uri
--
Uri Guttman --------- [EMAIL PROTECTED] ---------- http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page ----------- http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net ---------- http://www.northernlight.com