Hamish Whittal <[EMAIL PROTECTED]> wrote: : : I have a hash and want to return the first key in : the hash. How can I do this?
You can't. The keys of a hash are unordered. there is no first key (or second key, or lastkey, etc.) To get a "first key", you'll have to define what a "first key" is. Show us what you're working on and we can help you find a solution. HTH, Charles K. Clarkson -- Head Bottle Washer, Clarkson Energy Homes, Inc. Mobile Home Specialists 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]