Perl 101 (part 6) - The Perl Toolbox (
Page 1 of 8 )
This time, Perl 101 visits some of Perl's more useful in-built
functions, and teaches you the basics of pattern matching and substitution.
Also included is a list of common string and math functions, together with
examples 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.