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


in reply to Stripping of HTML content

As for speed, you can benchmark various approaches using Benchmark, Benchmark::Timer, or Time::HiRes. See also Benchmarking Your Code.