Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我看了又看,但似乎找不到 Moose::Meta 函数来返回所有具有给定特征的属性。
这可能吗?
似乎我搜索的不够深入:
Moose::Meta::Role
$metarole->消费者;返回使用此角色的类和角色的名称列表。