http://www.perlmonks.org?node_id=199588


in reply to Apache::URI conundrum

There was some heated discussion of this on the mod_perl list a while back, and the best answer has, of course, found its way into the Guide already.

perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'