in reply to Process string as Array

As others have said, it's very rare that you need to process string byte by byte in perl, but if you really do have to and you have any volume of strings to process then use  @bytes = unpack 'C*', $string; in preference to  @bytes = split '', $string;. It's an order of magnitude quicker.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail