📄 ch00_01.htm
字号:
<html><head><title>Preface (Learning Perl, 3rd Edition)</title><link rel="stylesheet" type="text/css" href="../style/style1.css" /><meta name="DC.Creator" content="Randal L. Schwartz and Tom Phoenix" /><meta name="DC.Format" content="text/xml" scheme="MIME" /><meta name="DC.Language" content="en-US" /><meta name="DC.Publisher" content="O'Reilly & Associates, Inc." /><meta name="DC.Source" scheme="ISBN" content="0596001320L" /><meta name="DC.Subject.Keyword" content="stuff" /><meta name="DC.Title" content="Learning Perl, 3rd Edition" /><meta name="DC.Type" content="Text.Monograph" /></head><body bgcolor="#ffffff"><img alt="Book Home" border="0" src="gifs/smbanner.gif" usemap="#banner-map" /><map name="banner-map"><area shape="rect" coords="1,-2,616,66" href="index.htm" alt="Learning Perl, 3rd Edition" /><area shape="rect" coords="629,-11,726,25" href="jobjects/fsearch.htm" alt="Search this book" /></map><div class="navbar"><table width="684" border="0"><tr><td align="left" valign="top" width="228"><a href="copyrght.htm"><img alt="Previous" border="0" src="../gifs/txtpreva.gif" /></a></td><td align="center" valign="top" width="228"><a href="index.htm"></a></td><td align="right" valign="top" width="228"><a href="ch00_02.htm"><img alt="Next" border="0" src="../gifs/txtnexta.gif" /></a></td></tr></table></div><h1 class="chapter">Preface</h1><p>Welcome to the third edition of <em class="citetitle">Learning Perl</em>.</p><p>If you're looking for the best way to spend your first 30 to 45hours with the Perl programming language, look no further. In thepages that follow, you'll find a carefully paced introductionto the language that remains the workhorse of the Internet, as wellas the language of choice for system administrators, web hackers, andcasual programmers around the world.</p><p>We can't give you all of Perl in just a few hours. The booksthat promise that are probably fibbing a bit. Instead, we'vecarefully selected a complete and useful subset of Perl for you tolearn, good for programs from one to 128 lines long, which end upbeing about 90% of the programs in use out there. And whenyou're ready to go on, we've included a number ofpointers for further education.</p><p>Each chapter is small enough to be read in an hour or two. Eachchapter ends with a series of exercises to help you practice whatyou've just learned, with the answers in <a href="appa_01.htm">Appendix A, "Exercise Answers"</a> for your reference. Thus, this book is ideallysuited for a classroom "introduction to Perl" course. Weknow this directly, because the material for this book was liftedalmost word-for-word from our flagship "Learning Perl"course, delivered to thousands of students around the world. However,we've designed the book for self-study as well.</p><p>Although Perl lives as the "toolbox for Unix," youdon't have to be a Unix guru, or even a Unix user, to use thisbook. Unless otherwise noted, everything we're saying appliesequally well to Windows ActivePerl from ActiveState, as well as tothe later releases of MacPerl for the Macintosh and pretty much everyother modern implementation of Perl.</p><p>Although you don't need to know a single bit about Perl tobegin reading this book, we do recommend that you already havefamiliarity with basic programming concepts such as variables, loops,subroutines, and arrays, and the all-important "editing asource code file with your favorite text editor." Wewon't spend any time trying to explain those concepts. Althoughwe're pleased that we've had many reports of peoplesuccessfully picking up <em class="citetitle">Learning Perl</em> andgrasping Perl as their first programming language, of course wecan't promise the same results for everyone.</p><div class="sect1"><a name="lperl3-PREF-SECT-1" /><h2 class="sect1">0.1. Typographical Conventions</h2><p>The following font conventions are used in this book:</p><dl><dt><tt class="literal">Constant width</tt></dt><dd>is used for method names, function names, variables, and attributes.It is also used for code examples.</p></dd></dl><dl><dt><tt class="userinput"><b>Constant width bold</b></tt></dt><dd>is used to indicate user input.</p></dd></dl><dl><dt><tt><em class="replaceable">Constant width italic</em></tt></dt><dd>is used to indicate a replaceable item in code (e.g.,<em class="replaceable">filename</em>, where you are supposed tosubstitute an actual filename).</p></dd></dl><dl><dt><i>Italic</i></dt><dd>is used for filenames, URLs, hostnames, commands in text, importantwords on first mention, and emphasis.</p></dd></dl><dl><dt>Footnotes</dt><dd>are used to attach parenthetical notes that you <em class="emphasis">shouldnot</em> read on your first (or perhaps second or third)reading of this book. Sometimes lies are spoken to simplify thepresentation, and the footnotes restore the lie to truth. Often thematerial in the footnote will be advanced material not even discussedanywhere else in the book.</p></dd></dl></div><hr width="684" align="left" /><div class="navbar"><table width="684" border="0"><tr><td align="left" valign="top" width="228"><a href="copyrght.htm"><img alt="Previous" border="0" src="../gifs/txtpreva.gif" /></a></td><td align="center" valign="top" width="228"><a href="index.htm"><img alt="Home" border="0" src="../gifs/txthome.gif" /></a></td><td align="right" valign="top" width="228"><a href="ch00_02.htm"><img alt="Next" border="0" src="../gifs/txtnexta.gif" /></a></td></tr><tr><td align="left" valign="top" width="228">Copyright Page</td><td align="center" valign="top" width="228"><a href="index/index.htm"><img alt="Book Index" border="0" src="../gifs/index.gif" /></a></td><td align="right" valign="top" width="228">0.2. How to Contact Us</td></tr></table></div><hr width="684" align="left" /><img alt="Library Navigation Links" border="0" src="../gifs/navbar.gif" usemap="#library-map" /><p><p><font size="-1"><a href="copyrght.htm">Copyright © 2002</a> O'Reilly & Associates. All rights reserved.</font></p><map name="library-map"><area shape="rect" coords="1,0,85,94" href="../index.htm"><area shape="rect" coords="86,1,178,103" href="../lwp/index.htm"><area shape="rect" coords="180,0,265,103" href="../lperl/index.htm"><area shape="rect" coords="267,0,353,105" href="../perlnut/index.htm"><area shape="rect" coords="354,1,446,115" href="../prog/index.htm"><area shape="rect" coords="448,0,526,132" href="../tk/index.htm"><area shape="rect" coords="528,1,615,119" href="../cookbook/index.htm"><area shape="rect" coords="617,0,690,135" href="../pxml/index.htm"></map></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -