in reply to banna split it aint

What about something like the following (it works for me):
$number = 123456; ($item1,$item2) = ($number =~ /(\d)(\d)/);
where, if $item1 or $item2 need to be greater than 1 digit you can just add "\d"'s