in reply to Re^5: removing <br> from my output
in thread removing <br> from my output

Is it the same file, or a different file that has line30=false? Either way, the regexp would need to be modified to account for that... maybe something like print FINAL if /(line\d*=(\d|[false]|[A-Za-z]{3}\s).)/;