in reply to Re: My first JAPH
in thread My first JAPH

Ah, I see. Thanks for pointing that out.
I thought that it would return the order in which the elements of Z_29 were found; it seemed to on tests.
I was interested in the order in which the elements were found, using exponents in ascending order.
I naively thought this approach would do just that, and eliminate duplicate elements.

Thanks!

Replies are listed 'Best First'.
Re: My first JAPH
by Dominus (Parson) on Nov 21, 2000 at 02:49 UTC
    Says rpc:
    > I thought that it would return the order in which the elements of Z_29 were found
    Nope. Here's what perlfunc has to say about that:
    values HASH
    ...
    The values are returned in an apparently random order. The actual random order is subject to change in future versions of perl...
    so there you go.