http://www.perlmonks.org?node_id=1007682


in reply to Re^4: How to split an integer??
in thread How to split an integer??

For splitting integer value, need to specify pattern explicitly as null string as follows.
# $number contains numerical value which is greater than 9 split('', $number);