Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
As we mentioned near the beginning of this book, Perl is designed to be good at solving programming problems that are about 90% working with text and 10% everything else. So it’s no surprise that Perl has strong text-processing abilities, including all that you’ve done with regular expressions. But sometimes the regular expression engine is too fancy and you need a simpler way of working with a string, as you’ll see in this chapter.