in reply to banna split it aint
or this($item6, $item5, $item4, $item3, $item2, $item1) = split //, $number
but i suspect that what you need is an array, so you should do this($item6, $item5, $item4, $item3, $item2, $item1) = split '', $number
or if you want it the the reverse order@items = split //, $number
@items = reverse split //, $number
|
|---|