in reply to chopping a string into slices - is there a more elegant way to do it?
That's work for unpack
$s = 'abcdefg'; $ml = 3; @result = unpack 'A3A3A3', $s; [download]