select ORGOUT; # return to original STDOUT
not $@ or fail($test), diag(" Error: $@"), return;
select ORGOUT; # return to original STDOUT
not $@ or fail($test), diag(" Error: $@"), return;
- '<: $headers{x_test}=2; print $header{x_PLP_version}; BEGIN { $header{"X-tesT"}=1 }',
- "X-tesT: 2\n$HEAD\n$PLP::VERSION"
+ '<: $headers{_test}=2; print $header{x_PLP_version}; BEGIN { $header{"-tesT"}=1 }',
+ "-tesT: 2\n$HEAD\n$PLP::VERSION"
.<table border=1 class="PLPerror"><tr><td><b>Debug information:</b><br>Can't set headers after sending them at testfile.plp line 1.
(Output started at testfile.plp line 1.)
</td></tr></table>
.<table border=1 class="PLPerror"><tr><td><b>Debug information:</b><br>Can't set headers after sending them at testfile.plp line 1.
(Output started at testfile.plp line 1.)
</td></tr></table>
- '<: $PLP::DEBUG = 2 :>1<(missinginclude)>2',
- "Content-Type: text/plain\n\n$HEAD\n1"
+ '<: $PLP::DEBUG = 2; delete $header{x_plp_version} :>1<(missinginclude)>2',
+ "Content-Type: text/plain\n\nContent-Type: text/html\n\n1"