close STDOUT; print {$output} 'Besides Bad file descriptor, this will also warn "print() on closed filehandle STDOUT"';