in reply to Re^2: Array condition always true
in thread Array condition always true

What do you want to achieve? $header_present = ''; will set $header_present to an empty string. $header_present = undef; will set $header_present to undef which is the uninitialised state. The one you need depends on code you've not shown us.

True laziness is hard work