in reply to Converting ascii to numbers

In the sense of TMTOWDI:
$x=join ' ', map ord,split //,$x;