2010-08-13 38 views

回答

17

使用caller功能:

my $function = (caller(0))[3]; 
+1

+1有什么该Perl不能做什么? :) 谢谢! – 2010-08-13 08:47:30

相关问题