note
Taulmarill
If you want to replace < with &lt; where it is not part of an HTML tag, a simple solution would be using negative look ahead in your regex like this:<br/>
<code>s/<(?![^<]*>)/</g;</code><br/>
A better solution would be using some HTML parsing module from CPAN.
790859
790859