foreach my $tp (@tpList)
{
print "inside function 14";
my $result1_fail = "";
$_=$tp;
next if(/^$/);
print "TP : $tp\n";
$result.="<h3>$tp</h3><BR>\n";
$result1_fail.="<h3>$tp</h3><BR>\n";
#------------------------------#
print "inside function 15";
***my @emptytables=();
my @tables=();***
@tables= getAllTables4TP($tp);
- 请解释my @ emptytables =()的含义。
- 而且我的@ tables =();
- 这是用来定义一些空数组吗?
- 如果是,那么它有什么用?
也许你想了解[Perl数据结构(http://perldoc.perl.org/perldata.html),并使用[我的](http://perldoc.perl.org/functions/my.html)来声明变量。 – PerlDuck