in reply to Re^6: How to extract the first elemnet from an integer type value ???in thread How to extract the first elemnet from an integer type value ???
$digit = chop $num while $num; [download]