Well, when I tried running it from the command line, I got this error (with -w):
a.cgi: Name "main::labels" used only once: possible typo at ./a.cgi li +ne 163.
This came out before the Content-Type: text/html line. My guess is that you are trying to use \%labels and haven't defined the hash.
Hope this helps...
--
In reply to Re: help!! another simple bug
by Daddio
in thread 'Premature end of script headers' error
by newatperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |