以下Perl程序的输出结果是下列哪个选项?
my %h1 = ( "here" => '1', "there" => '2', "those" => '3'; ); if(exists($h1{"there"})) { print "there exist!"; }else { print "Don’t exist!"; }
Don’t exist!
there exist!
undef
其他选项都不对
这道题你会答吗?花几分钟告诉大家答案吧!
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题