sub func { return (\%hash1,\%hash2,\%hash3); } my ($ref1,$ref2,$ref3) = func(); print Dumper($ref1); 參考 http://perlmeme.org/faqs/perl_thinking/returning.html
留言