in reply to Re^2: A little golfing challenge: Replacing letters with numbers (edited)
in thread A little golfing challenge: Replacing letters with numbers
perl -pe 's/./ARNDBCEQZGHILKMFPSTWYV=~m!$&!&&"@+ "/ge'
Really nice! Well done! Going just a little further:
perl -pe 's/./ARNDBCEQZGHILKMFPSTWYV=~$& &&"@+ "/ge'
|
|---|