in reply to Re: How do I print a large integer with thousands separators?in thread How do I print a large integer with thousands separators?
sub puntato{ my $z=reverse $_[0];$z=~s/(\d{3})(?=\d)/$1\./g;scalar(rev +erse($z))} [download]