use strict; use warnings; open STDERR , ">/dev/stdout"; print "Content-type: text/plain\n\n";