为什么不能运行split函数?
程序中含有
@predate=split (//,$predate);
print ($predate[0]."\t".$predate[1]."\n");
一运行程序,出现如下出错信息:(35和37行就是上面那两个语句)
Global symbol "@predate" requires explicit package name at billingtest.pl line 35.
Global symbol "@predate" requires explicit package name at billingtest.pl line 37.
Global symbol "@predate" requires explicit package name at billingtest.pl line 37.
Execution of billingtest.pl aborted due to compilation errors.
那位大侠能告诉我为什么?