in reply to How do I convert each character in a string to its ASCII value ?
#!/usr/bin/perl -w use strict; my $String="This is Ascii"; $String=~s/(.)/ord($1)/eg; print "Ascii: $String\n"; [download]