perl 匿名函数传参

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

print $subref->("xxyyzz");

原文地址:https://www.cnblogs.com/hzcya1995/p/13350759.html