perlfaq2.html

来自「perl教程」· HTML 代码 · 共 582 行 · 第 1/3 页

HTML
582 行
字号
for more details.</p>
<p>Tutorial documents are included in current or upcoming Perl releases
include <a href="../../lib/Pod/perltoot.html">the perltoot manpage</a> for objects or <a href="../../lib/Pod/perlboot.html">the perlboot manpage</a> for a beginner's
approach to objects, <a href="../../lib/Pod/perlopentut.html">the perlopentut manpage</a> for file opening semantics,
<a href="../../lib/Pod/perlreftut.html">the perlreftut manpage</a> for managing references, <a href="../../lib/Pod/perlretut.html">the perlretut manpage</a> for regular
expressions, <a href="../../lib/Pod/perlthrtut.html">the perlthrtut manpage</a> for threads, <a href="../../lib/Pod/perldebtut.html">the perldebtut manpage</a> for debugging,
and <a href="../../lib/Pod/perlxstut.html">the perlxstut manpage</a> for linking C and Perl together.  There may be more
by the time you read this.  These URLs might also be useful:</p>
<pre>
    <a href="http://">http://</a><a href="../../lib/Pod/perldoc.html">perldoc</a>.perl.org/
    <a href="http://bookmarks.cpan.org/search.cgi?cat=Training%2FTutorials">http://bookmarks.cpan.org/search.cgi?cat=Training%2FTutorials</a></pre>
<p>
</p>
<h2><a name="what_are_the_perl_newsgroups_on_usenet_where_do_i_post_questions">What are the Perl newsgroups on Usenet?  Where do I post questions?</a></h2>
<p>Several groups devoted to the Perl language are on Usenet:</p>
<pre>
    comp.lang.perl.announce             Moderated announcement group
    comp.lang.perl.misc                 High traffic general Perl discussion
    comp.lang.perl.moderated        Moderated discussion group
    comp.lang.perl.modules              Use and development of Perl modules
    comp.lang.perl.tk                   Using Tk (and X) from Perl</pre>
<pre>
    comp.infosystems.www.authoring.cgi  Writing CGI scripts for the Web.</pre>
<p>Some years ago, comp.lang.perl was divided into those groups, and
comp.lang.perl itself officially removed.  While that group may still
be found on some news servers, it is unwise to use it, because
postings there will not appear on news servers which honour the
official list of group names.  Use comp.lang.perl.misc for topics
which do not have a more-appropriate specific group.</p>
<p>There is also a Usenet gateway to Perl mailing lists sponsored by
perl.org at <a href="nntp://nntp.perl.org">nntp://nntp.perl.org</a> , a web interface to the same lists
at <a href="http://nntp.perl.org/group/">http://nntp.perl.org/group/</a> and these lists are also available
under the <code>perl.*</code> hierarchy at <a href="http://groups.google.com">http://groups.google.com</a> . Other
groups are listed at <a href="http://lists.perl.org/">http://lists.perl.org/</a> ( also known as
<a href="http://lists.cpan.org/">http://lists.cpan.org/</a> ).</p>
<p>A nice place to ask questions is the PerlMonks site,
<a href="http://www.perlmonks.org/">http://www.perlmonks.org/</a> , or the Perl Beginners mailing list
<a href="http://lists.perl.org/showlist.cgi?name=beginners">http://lists.perl.org/showlist.cgi?name=beginners</a> .</p>
<p>Note that none of the above are supposed to write your code for you:
asking questions about particular problems or general advice is fine,
but asking someone to write your code for free is not very cool.</p>
<p>
</p>
<h2><a name="where_should_i_post_source_code">Where should I post source code?</a></h2>
<p>You should post source code to whichever group is most appropriate, but
feel free to cross-post to comp.lang.perl.misc.  If you want to cross-post
to alt.sources, please make sure it follows their posting standards,
including setting the Followup-To header line to NOT include alt.sources;
see their FAQ ( <a href="http://www.faqs.org/faqs/alt-sources-intro/">http://www.faqs.org/faqs/alt-sources-intro/</a> ) for details.</p>
<p>If you're just looking for software, first use Google
( <a href="http://www.google.com">http://www.google.com</a> ), Google's usenet search interface
( <a href="http://groups.google.com">http://groups.google.com</a> ),  and CPAN Search ( <a href="http://search.cpan.org">http://search.cpan.org</a> ).
This is faster and more productive than just posting a request.</p>
<p>
</p>
<h2><a name="perl_books">Perl Books</a></h2>
<p>A number of books on Perl and/or CGI programming are available.  A few
of these are good, some are OK, but many aren't worth your money.
There is a list of these books, some with extensive reviews, at
<a href="http://books.perl.org/">http://books.perl.org/</a> . If you don't see your book listed here, you
can write to <a href="mailto:perlfaq-workers@perl.org">perlfaq-workers@perl.org</a> .</p>
<p>The incontestably definitive reference book on Perl, written by
the creator of Perl, is Programming Perl:</p>
<pre>
        Programming Perl (the &quot;Camel Book&quot;):
        by Larry Wall, Tom Christiansen, and Jon Orwant
        ISBN 0-596-00027-8  [3rd edition July 2000]
        <a href="http://www.oreilly.com/catalog/pperl3/">http://www.oreilly.com/catalog/pperl3/</a>
        (English, translations to several languages are also available)</pre>
<p>The companion volume to the Camel containing thousands
of real-world examples, mini-tutorials, and complete programs is:</p>
<pre>
        The Perl Cookbook (the &quot;Ram Book&quot;):
        by Tom Christiansen and Nathan Torkington,
            with Foreword by Larry Wall
        ISBN 0-596-00313-7 [2nd Edition August 2003]
        <a href="http://www.oreilly.com/catalog/perlckbk2/">http://www.oreilly.com/catalog/perlckbk2/</a></pre>
<p>If you're already a seasoned programmer, then the Camel Book might
suffice for you to learn Perl.  If you're not, check out the
Llama book:</p>
<pre>
        Learning Perl
        by Randal L. Schwartz, Tom Phoenix, and brian d foy
        ISBN 0-596-10105-8 [4th edition July 2005]
        <a href="http://www.oreilly.com/catalog/learnperl4/">http://www.oreilly.com/catalog/learnperl4/</a></pre>
<p>And for more advanced information on writing larger programs,
presented in the same style as the Llama book, continue your education
with the Alpaca book:</p>
<pre>
        Learning Perl Objects, References, and Modules (the &quot;Alpaca Book&quot;)
        by Randal L. Schwartz, with Tom Phoenix (foreword by Damian Conway)
        ISBN 0-596-00478-8 [1st edition June 2003]
        <a href="http://www.oreilly.com/catalog/lrnperlorm/">http://www.oreilly.com/catalog/lrnperlorm/</a></pre>
<p>If you're not an accidental programmer, but a more serious and
possibly even degreed computer scientist who doesn't need as much
hand-holding as we try to provide in the Llama, please check out the
delightful book</p>
<pre>
        Perl: The Programmer's Companion
        by Nigel Chapman
        ISBN 0-471-97563-X [1997, 3rd printing Spring 1998]
        <a href="http://www.wiley.com/compbooks/catalog/97563-X.htm">http://www.wiley.com/compbooks/catalog/97563-X.htm</a>
        <a href="http://www.wiley.com/compbooks/chapman/perl/perltpc.html">http://www.wiley.com/compbooks/chapman/perl/perltpc.html</a> (errata etc)</pre>
<p>If you are more at home in Windows the following is available
(though unfortunately rather dated).</p>
<pre>
        Learning Perl on Win32 Systems (the &quot;Gecko Book&quot;)
        by Randal L. Schwartz, Erik Olson, and Tom Christiansen,
            with foreword by Larry Wall
        ISBN 1-56592-324-3 [1st edition August 1997]
        <a href="http://www.oreilly.com/catalog/lperlwin/">http://www.oreilly.com/catalog/lperlwin/</a></pre>
<p>Addison-Wesley ( <a href="http://www.awlonline.com/">http://www.awlonline.com/</a> ) and Manning
( <a href="http://www.manning.com/">http://www.manning.com/</a> ) are also publishers of some fine Perl books
such as <em>Object Oriented Programming with Perl</em> by Damian Conway and
<em>Network Programming with Perl</em> by Lincoln Stein.</p>
<p>An excellent technical book discounter is Bookpool at
<a href="http://www.bookpool.com/">http://www.bookpool.com/</a> where a 30% discount or more is not unusual.</p>
<p>What follows is a list of the books that the FAQ authors found personally
useful.  Your mileage may (but, we hope, probably won't) vary.</p>
<p>Recommended books on (or mostly on) Perl follow.</p>
<dl>
<dt><strong><a name="item_references">References</a></strong>

<dd>
<pre>
        Programming Perl
        by Larry Wall, Tom Christiansen, and Jon Orwant
        ISBN 0-596-00027-8 [3rd edition July 2000]
        <a href="http://www.oreilly.com/catalog/pperl3/">http://www.oreilly.com/catalog/pperl3/</a></pre>
</dd>
<dd>
<pre>
        Perl 5 Pocket Reference
        by Johan Vromans
        ISBN 0-596-00032-4 [3rd edition May 2000]
        <a href="http://www.oreilly.com/catalog/perlpr3/">http://www.oreilly.com/catalog/perlpr3/</a></pre>
</dd>
<dt><strong><a name="item_tutorials">Tutorials</a></strong>

<dd>
<pre>
        Beginning Perl
        by James Lee
        ISBN 1-59059-391-X [2nd edition August 2004]
        <a href="http://apress.com/book/bookDisplay.html?bID=344">http://apress.com/book/bookDisplay.html?bID=344</a></pre>
</dd>
<dd>
<pre>
        Elements of Programming with Perl
        by Andrew L. Johnson
        ISBN 1-884777-80-5 [1st edition October 1999]
        <a href="http://www.manning.com/Johnson/">http://www.manning.com/Johnson/</a></pre>
</dd>
<dd>
<pre>
        Learning Perl
        by Randal L. Schwartz, Tom Phoenix, and brian d foy
        ISBN 0-596-10105-8 [4th edition July 2005]
        <a href="http://www.oreilly.com/catalog/learnperl4/">http://www.oreilly.com/catalog/learnperl4/</a></pre>
</dd>
<dd>
<pre>
        Learning Perl Objects, References, and Modules
        by Randal L. Schwartz, with Tom Phoenix (foreword by Damian Conway)
        ISBN 0-596-00478-8 [1st edition June 2003]
        <a href="http://www.oreilly.com/catalog/lrnperlorm/">http://www.oreilly.com/catalog/lrnperlorm/</a></pre>
</dd>
<dt><strong><a name="item_task_2doriented">Task-Oriented</a></strong>

<dd>
<pre>
        Writing Perl Modules for CPAN
        by Sam Tregar
        ISBN 1-59059-018-X [1st edition Aug 2002]
        <a href="http://apress.com/book/bookDisplay.html?bID=14">http://apress.com/book/bookDisplay.html?bID=14</a></pre>
</dd>
<dd>
<pre>
        The Perl Cookbook
        by Tom Christiansen and Nathan Torkington
            with foreword by Larry Wall
        ISBN 1-56592-243-3 [1st edition August 1998]
        <a href="http://www.oreilly.com/catalog/cookbook/">http://www.oreilly.com/catalog/cookbook/</a></pre>
</dd>
<dd>
<pre>
        Effective Perl Programming
        by Joseph Hall
        ISBN 0-201-41975-0 [1st edition 1998]
        <a href="http://www.awl.com/">http://www.awl.com/</a></pre>
</dd>
<dd>
<pre>
        Real World SQL Server Administration with Perl

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?