hesco has asked for the wisdom of the Perl Monks concerning the following question:
I'm using CGI::FormBuilder, my constructor includes header => 1, templates => '/path/to/template.html', and I'm getting this error:
Doesn't this mean it is not getting the Content-Type? Shouldn't header being set to 1 generate such an animal? When I add a print $q->header(); to the mix, it resolves the issue. But I would have thought that setting header => 1, in the constructor would do the trick.malformed header from script. Bad header=<?xml version="1.0" encoding= +": volunteer.cgi
-- Hugh
if( $lal && $lol ) { $life++; }
if( $insurance->rationing() ) { $people->die(); }
if( $insurance->rationing() ) { $people->die(); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: CGI::FormBuilder malformed header
by Khen1950fx (Canon) on Feb 19, 2010 at 07:16 UTC | |
Re: CGI::FormBuilder malformed header
by Anonymous Monk on Feb 18, 2010 at 23:37 UTC |
Back to
Seekers of Perl Wisdom