Your script is printing <br> because you explicitly told it to with these two lines:
$tags =~ s/</</; $tags =~ s/>/>/;
And then, right after that you tried to remove the breaks, but s/<br>// isn't going to match anything, because you just removed all the < and > characters from your string.
| We're not surrounded, we're in a target-rich environment! |
|---|
In reply to Re: CGI aligning
by jasonk
in thread CGI aligning
by sulfericacid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |