FW: strange substitution

Ed Eddington ed at pcr7.pcr.com
Fri Nov 5 13:57:59 CST 1999


Here is some mystery code I got from overseas for your analysis. Run it and let me know what is happening!

Sincerely,
Ed Eddington


----------
From: 	Didier LADNER[SMTP:didier at absolog.com]
Sent: 	Friday, November 05, 1999 2:25 PM
To: 	Ed Eddington
Subject: 	strange substitution

hi ed,

try to run this code and let's me know what's you think about tr///

ARCOM:{
print "Write something:";
$mes = <STDIN>;
chop($mes);
$mes =~ tr#A-Za-z0-9+/# -_#;# what's " -_" doing **exactly**?
print "$mes\n";
redo ARCOM;
}


Regards
-- 
Didier    
--                    
____________________________________________________________

Didier LADNER.
Merci de votre interet. Nous faisons prosperer vos affaires.
http://www.absolog.com





More information about the grand-rapids-pm-list mailing list