http://qs321.pair.com?node_id=191864

chuleto1 has asked for the wisdom of the Perl Monks concerning the following question:

Problem:
I would like to delete all tab space "\t" new lines "\n " and more than one continuos space " " inside opening and closing tags and replacing them with ONE space per instance.
$text = "<tag>
      The purpose of the applicant rating session is for you,
the applicant, to provide a sample of your       
effective teaching skills.</tag>"


The desired result would be:

$text = "<tag>The purpose of the applicant rating session is for you, the applicant, to provide a sample of your effective teaching skills.</tag>"