I have a script that handles some text strings. The textstrings in them self I can't control so they can contain characters as ?:>< etc which makes them hard to check through a regexp. So I want to replace alla characters like this:
question? => \q\u\e\s\t\i\o\n\?
I'll give you a hint:
Split on the character interval between the letters
my @word_array = split(//, $_);
and rejoin them with join and or map.
Maybe a foreach loop... -- _Sx_ http://youve-reached-the.endoftheinternet.org/ _____ perldoc -qa.a | perl -lpe '($_)=m("(.*)")' | grep Martian
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
