Perl: Matching hash keys to a regular expression

前端 未结 4 1727
渐次进展
渐次进展 2020-12-10 11:38

I\'m wondering if Perl has a built-in way to check for the existence of a hash element with a key matching a particular regex. For example:

my %h = ( \'twelv         


        
4条回答
提交回复
热议问题