in reply to Re: To read Char-by-Char from a file
in thread To read Char-by-Char from a file

Unfortunately, some important syntax constructs in XML are longer than one character (e.g. <!-- or <![CDATA[ and their closing counterparts), but they can change how the following < should be interpreted. Good luck with implementing your own XML parser!

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,