sub luhn { $_=reverse@_;s/(.)(.)/$1.$2*2/ge;s/\B/+/g;eval=~/0$/ } [download]
In reply to Re: Re: Luhn Number Golf by petral in thread Luhn Number Golf by Cody Pendant