my $digit_count = $num =~ tr/0-9//;
After Compline,Zaxo
In reply to Re: count digit in a numeric value by Zaxo in thread count digit in a numeric value by wusphere