in reply to Matching First Character of Strings Efficiently
$char = chr ord $string; [download]
But if you don't care what the character actually is you could just use ord (as tye shows above).
-- John.