我知道=>
运算符的哈希使用,像这样
$ cat array.pl
%ages = ('Martin' => 28,
'Sharon' => 35,
'Rikke' => 29,);
print "Rikke is $ages{Rikke} years old\n";
$ perl array.pl
Rikke is 29 years old
$
我认为这只是初始化哈希的语法,但是在回答How can Iqualified a variable as const/final in Perl? ,=>
一直这样使用
use Readonly;
Readonly my $infilename => "input_56_12.txt";
究竟是什么=>
意思?还有更多=>
可以使用的方法吗?