On 6/22/07, Bob McConnell <[EMAIL PROTECTED]> wrote: snip
The function you need is 'ord $byte'.
snip
And make sure you use the bytes pragma. If you don't then you might be surprised by characters that take up more than one byte. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/