one key hash
C. Abney
cabney at cyberpass.net
Thu Feb 24 16:54:26 CST 2000
~sdpm~
On Fri, 25 Feb 2000, C. Abney wrote:
> On Thu, 24 Feb 2000, Bob Forgey wrote:
>
> > ... I would probably use
> > keys(%foo_h)[0]
> > instead of the `each %foo_h', just to be explicit.
>
> I tried that and couldn't get it to work. Made sense to me too, otherwise.
> It's a bit wordier than mine, but tells you exactly what you want to do.
> I even tried it with a symref... :(
dang, spoke too soon. Of course '$top = +(keys (%foo_h))[0];'
will work.
CA
--
AC #1: Now, if they were to force-evolve code using a genetic algorithm,
you might get code better than any a human could write.
AC #2: Of course, you'd have to put up with the fact that this would not
be executable in Kansas. C. Abney
~sdpm~
The posting address is: san-diego-pm-list at hfb.pm.org
List requests should be sent to: majordomo at hfb.pm.org
If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:
unsubscribe san-diego-pm-list
If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.
More information about the San-Diego-pm
mailing list