This time, Perl 101 visits some of Perl's more useful in-builtfunctions, and teaches you the basics of pattern matching and substitution.Also included is a list of common string and math functions, together withexamples of how to use them.
With the arcane mysteries of Perl subroutines behind us, it's now time to move on to the many practical uses of Perl. Over the next few pages, we're going to spend some time investigating Perl's many built-in functions, functions that come in very handy when you need to do a little string manipulation.
Among the items on today's agenda: pattern matching and replacement, a close look at some useful string functions, and a quick trip back in time to math class with Perl's math functions. Pay attention, now!
This article copyright Melonfire 2000. All rights reserved.