On Sun, 11 Sep 2005, Patrick McCabe wrote:

> TMTOWTDI and all that,
>
> cat native.dump | perl -ple 's/([\da-fA-F]{2})/asc(hex($1))/eg'

Shouldn't that be 'chr' instead of 'asc'?...

http://www.unix.org.ua/orelly/perl/cookbook/ch01_05.htm

asc gives an error but chr works:

echo '687474703a2f2f3231362e3135352e3137342e38342f736572766c6574732f6d6d733f6d6573736167652d69' | perl -ple 's/([\da-fA-F]{2})/chr(hex($1))/eg'
http://216.155.174.84/servlets/mms?message-i

T-Mobile?

Mike