Click to See Complete Forum and Search --> : problem with substition.


buggy
09-13-2004, 07:31 AM
I have extracted info from a html page and some of the euro (€) as appearing as € (see map for escaped euro); in my filestring, i have tried to

map(s/\&\#8364\;/€/,$filestring);

but the string is not changing. Any ideas.

Jeff Mott
09-13-2004, 09:06 AM
You don't need or want to use map in this case. Just do...$filestring =~ s/\&\#8364\;/€/g;