if ( $rOpts->{'tee-pod'} ) { $tee_line = 1; }
if ( !$skip_line
&& $line_type eq 'POD_START'
- && $last_line_type !~ /^(END|DATA)$/ )
+ # If the previous line is a __DATA__ line (or data
+ # contents, it's not valid to change it at all, no
+ # matter what is in the data
+ && $last_line_type !~ /^(END|DATA(?:_START)?)$/ )
{
want_blank_line();
}