in reply to how do I edit multiple variables at once?

You should seriously consider using a suitable module (HTML::Entities for example) for manipulating HTML entities. There are more symbols than just < and > to be concerned about.


True laziness is hard work
  • Comment on Re: how do I edit multiple variables at once?

Replies are listed 'Best First'.
Re^2: how do I edit multiple variables at once?
by keiusui (Monk) on Jul 04, 2009 at 07:18 UTC
    Thank you so much for the response. However, HTML::Entities does not filter a single quote: '

    The four main symbols I would be concerned about are <, >, " and '. Do you by any chance know of a filter that takes care of all these?

    Update a few minutes later: whoops! I'm sorry. HTML::Entities actually can take care of the single quote. I didn't see this until I read the entire documentation. Thanks again!