5.5. Hash (Associative Array) Functions
5.5.1. The keys Function
The keys function returns, in random order, an array whose elements are the keys of a hash (see "The values Function" and "The each Function").
本文介绍了一个脚本语言中Hash关联数组的keys函数使用方法。通过示例展示了如何获取Hash关联数组的所有键名,并通过随机顺序及排序后的顺序进行打印。
The keys function returns, in random order, an array whose elements are the keys of a hash (see "The values Function" and "The each Function").

被折叠的 条评论
为什么被折叠?