perl,错在哪里?(急)
我有一个cgi程序
#!/usr/bin/perl -w
use CGI ':all';
use strict;
my $length=$ENV{'CONTENT_LENGTH'};
read(STDIN,$buffer,$length);
my @pairs=split(/&/,$buffer);
print header;
print "@pairs";
报错为:
Global symabol "$buffer" requires explicit package name at test.cgi line
5. Execution of test.cgi due to compilation errors.