In general, it means something it spitting out output (on STDIN or STDOUT) before your print your headers. Simply try to run this script on the command line and you will see that it produces this error:
Undefined subroutine &main::param called at /tmp/blah line 9.