perl 匿名函数传参

$subref=sub {
 my $a=shift;
 return $a;
    };

print $subref->("xxyyzz");

原文地址:https://www.cnblogs.com/zhaoyangjian724/p/6199982.html