[perl] Experimental keys on scalar is now forbidden 的问题解决

2016-07-15 11:31:30来源:CSDN作者:lieberstraum人点击

出错提示为:

# Experimental keys on scalar is now forbidden at /xxx/.cpanm/work/1468479049.21281/....../blib/script/convert line 106.


$perl -v


This is perl 5, version 24, subversion 0 (v5.24.0) built for x86_64-linux

(with 1 registered patch, see perl -V for more detail)


解决方法:

printf( "read /%i entries/n", int keys $entries );

修改为

printf( "read /%i entries/n", int keys %$entries );

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台