in reply to Re: System commands using CGIin thread System commands using CGI
$cgi->headers
should be:
$cgi->header
missing closing ")":
map { li($ENV{$_} } keys %ENV
map { li($ENV{$_}) } keys %ENV