⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ch22.htm

📁 prrl 5 programs codes in the book
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<HTML>

<HEAD>

<TITLE>Chapter 22  -- Internet Resources</TITLE>



<META>

</HEAD>

<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#551A8B" ALINK="#CE2910">

<H1><FONT SIZE=6 COLOR=#FF0000>Chapter&nbsp;22</FONT></H1>

<H1><FONT SIZE=6 COLOR=#FF0000>Internet Resources</FONT></H1>

<HR>

<P>

<CENTER><B><FONT SIZE=5>CONTENTS</FONT></B></CENTER>

<UL>

<LI><A HREF="#UsenetNewsgroups">

Usenet Newsgroups</A>

<LI><A HREF="#WebSites">

Web Sites</A>

<UL>

<LI><A HREF="#ThePerlLanguageHomePage">

The Perl Language Home Page</A>

<LI><A HREF="#PearlsofWisdombyLarryWall">

Pearls of Wisdom by Larry Wall</A>

<LI><A HREF="#Yahoo">

Yahoo</A>

<LI><A HREF="#TheCGIpmModule">

The CGI.pm Module</A>

<LI><A HREF="#SelinaSolsCGIScriptArchive">

Selina Sol's CGI Script Archive</A>

<LI><A HREF="#TheWebDevelopersVirtualLibrary">

The Web Developer's Virtual Library</A>

<LI><A HREF="#IntroductiontoCGI">

Introduction to CGI</A>

<LI><A HREF="#PerlforWin">

Perl for Win32</A>

<LI><A HREF="#RandalLSchwartzsHomePage">

Randal L. Schwartz's Home Page</A>

<LI><A HREF="#DaleBewleysPerlScriptsandLinks">

Dale Bewley's Perl Scripts and Links!</A>

<LI><A HREF="#MattsScriptArchive">

Matt's Script Archive</A>

<LI><A HREF="#TheComprehensivePerlArchiveNetwork">

The Comprehensive Perl Archive Network</A>

<LI><A HREF="#DatabaseAPIforPerl">

Database API for Perl</A>

<LI><A HREF="#TheCGICollection">

The CGI Collection</A>

<LI><A HREF="#HTMLFormProcessingModulesHFPMHomePage">

HTML Form Processing Modules (HFPM) Home Page</A>

<LI><A HREF="#PureAmiga">

PureAmiga</A>

<LI><A HREF="#MacPerl">

MacPerl</A>

<LI><A HREF="#CGIScriptsandHTMLForms">

CGI Scripts and HTML Forms</A>

<LI><A HREF="#TheCGIDocumentationbyNCSA">

The CGI Documentation by NCSA</A>

<LI><A HREF="#MiscellaneousSites">

Miscellaneous Sites</A>

</UL>

<LI><A HREF="#InternetRelayChatorIRC">

Internet Relay Chat, or IRC</A>

<LI><A HREF="#Summary">

Summary</A>

</UL>



<HR>

<P>

If you've read the rest of this book, you have a fairly good understanding

of Perl. This chapter introduces you to some resources that can

take you to the next level of understanding. You can see which

Usenet newsgroups are best to read, where to find Perl scripts

that you can copy and modify for your own use, and other useful

information.

<P>

First, you can read about Usenet, a service that uses news articles

to deliver information. You can browse through the newsgroups

and pick up useful information. Additionally, any time you have

a question on Perl or CGI programming you can post the question

to a newsgroup. Responses to questions are usually quick if your

subject lines are well thought-out and descriptive.

<P>

Next, some Web sites you can visit are listed. They have useful

Web, CGI, and Perl related libraries, sample scripts, and documentation

that can be extremely helpful.<BR>

<p>

<CENTER>

<TABLE BORDERCOLOR=#000000 BORDER=1 WIDTH=80%>

<TR><TD><B>Tip</B></TD></TR>

<TR><TD>

<BLOCKQUOTE>

If you are new to CGI programming with Perl, you will want to visit each of these sites listed in this chapter. Doing this will give you a good understanding of what is available to help you become a great CGI programmer. As you visit the sites, keep 
track of useful files that can be downloaded that interest you, iNCluding their version and the date. You might also bookmark the site in your Web browser. When you are done visiting all the sites, you will know where to access the most recent of the tools 
and you can begin to download and build your own CGI development library.</BLOCKQUOTE>



</TD></TR>

</TABLE>

</CENTER>

<P>

<H2><A NAME="UsenetNewsgroups"><FONT SIZE=5 COLOR=#FF0000>

Usenet Newsgroups</FONT></A></H2>

<P>

Usenet is an Internet service that distributes articles or messages

between servers. Each article is targeted to a specific newsgroup.

You need a news reader program in order to download articles from

the news server to your local machine.<BR>

<p>

<CENTER>

<TABLE BORDERCOLOR=#000000 BORDER=1 WIDTH=80%>

<TR><TD><B>Tip</B></TD></TR>

<TR><TD>

<BLOCKQUOTE>

If you are using Windows 95, you can use the news reader that comes with Netscape, or you can download Free Agent from the <TT><B><FONT FACE="Courier">http://www.forteiNC.com/forte/</FONT></B></TT> web page.

</BLOCKQUOTE>



</TD></TR>

</TABLE>

</CENTER>

<P>

<P>

There are several newsgroups that are useful to Perl and CGI programmers.

They are listed in Table 22.1.<BR>

<P>

<CENTER><B>Table 22.1&nbsp;&nbsp;Useful Newsgroups</B></CENTER>

<p>

<CENTER>

<TABLE BORDERCOLOR=#000000 BORDER=1 WIDTH=80%>

<TR><TD WIDTH=181><I>Newsgroup</I></TD><TD WIDTH=409><I>Description</I>

</TD></TR>

<TR><TD WIDTH=181>comp.lang.perl.misc</TD><TD WIDTH=409>Covers general Perl questions and issues.

</TD></TR>

<TR><TD WIDTH=181>Comp.lang.perl.annouNCe</TD><TD WIDTH=409>Covers Perl-related annouNCements.

</TD></TR>

<TR><TD WIDTH=181>Comp.lang.perl.modules</TD><TD WIDTH=409>Covers new module annouNCements and questions.

</TD></TR>

<TR><TD WIDTH=181>comp.lang.perl.tk</TD><TD WIDTH=409>Perl/Tk integration and usage discussions.

</TD></TR>

<TR><TD WIDTH=181>comp.infosystems.www.</TD><TD WIDTH=409>CGI issues in web authoring.authoring.cgi

</TD></TR>

<TR><TD WIDTH=181>comp.infosystems.www.</TD><TD WIDTH=409>Not Perl-related, but very useful to monitor annouNCenew developments on the web.

</TD></TR>

<TR><TD WIDTH=181>comp.infosystems.www.</TD><TD WIDTH=409>Covers general web server questions servers.miscand issues. There are alsonewsgroups specifically devoted to individual server products.

</TD></TR>

<TR><TD WIDTH=181>comp.internet.net-</TD><TD WIDTH=409>Another newsgroup that's good for monitor- happeningsing Internet developments.

</TD></TR>

</TABLE>

</CENTER>

<P>

<P>

The most useful Perl-related newsgroup is comp.lang.perl.misc

because of the breadth of topics that are covered. This is the

newsgroup you will most likely post to when you are having a Perl

language problem or simply have a question that needs answering.

<BR>

<p>

<CENTER>

<TABLE BORDERCOLOR=#000000 BORDER=1 WIDTH=80%>

<TR><TD><B>Caution</B></TD></TR>

<TR><TD>

<BLOCKQUOTE>

It is generally considered poor manners to post your question in more than one newsgroup. Most people monitor at least three of the four Perl newsgroups and will be annoyed to see your question multiple times.</BLOCKQUOTE>



</TD></TR>

</TABLE>

</CENTER>

<P>

<P>

<A HREF="f22-1.gif" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/f22-1.gif"><B>Figure 22.1 : </B><I>A random sample of the Article in the comp.lang.perl.misc

Newsgroup</I>.</A>

<P>

Before you post to any newsgroup, <B>read the Perl FAQ</B>. A

<I>FAQ</I> is a frequently-asked questions document. If you ask

a question that is already answered in the FAQ document, you will

be yelled at by other people reading the list. At all times, remember

that you are asking others for their help. They are under no obligation

to help. If you are rude, insulting, uNClear, or lazy, you can

expect the same treatment in return. To quote Patrick Swayze in

the movie <I>Roadhouse</I>, &quot;Be polite!&quot;

<P>

You can find the FAQ on the <B>http://www.perl.com/perl/faq/</B>

Web page. In addition, this site will point you to other FAQs.

<P>

The comp.lang.perl.modules newsgroup is very helpful, both to

check out what modules are available and how they are being used,

and if you have any questions or problems with existing Perl modules,

or want to ask about the existeNCe of modules to support a particular

need.

<P>

The comp.lang.perl.tk newsgroup is a forum to discuss Tk and Perl.

<I>Tk</I> is an interface tool developed by Sun, primarily to

use with <I>Tcl</I>, an embeddable scripting language. There have

been Tk extensions made to Perl5 to allow integration. If you

are interested in using both, you will definitely want to check

out this newsgroup. You can also find a FAQ at the <B>http://w4.lns.cornell.edu/~pvhp/ptk/ptkFAQ.html</B>

web page.

<P>

Another useful newsgroup is comp.infosystems.www.authoring.cgi.

It will contain many refereNCes to CGI programming using Perl,

which is one of the more popular approaches to CGI. Look at all

of the newsgroups beginning with comp.infosystems.www for those

that meet your needs.

<H2><A NAME="WebSites"><FONT SIZE=5 COLOR=#FF0000>

Web Sites</FONT></A></H2>

<P>

The following sites are good places to visit to build up your

Perl or CGI script library. In addition, the sites will begin

to give you an exact idea of what already exists that you can

use, or modify for your own use. You will be amazed at what is

available that is either freeware or shareware.

<H3><A NAME="ThePerlLanguageHomePage">

The Perl Language Home Page</A></H3>

<P>

<B>http://www.perl.com</B>

<P>

The Perl language home page is connected to the Internet via a

28.8K link, so be prepared to wait a little bit while downloading.

Around the end of July, the server was having difficulties staying

up-hopefully they have been resolved by the time you read this.

<P>

However, when the site is available, it has valuable information.

You should definitely stop in and browse.

<H3><A NAME="PearlsofWisdombyLarryWall">

Pearls of Wisdom by Larry Wall</A></H3>

<P>

<B>ftp://convex.com/pub/perl/info/lwall-quotes</B>

<P>

Larry Wall is the inventor of Perl. His admirers have created

this web page to commemorate some of Larry's wittier comments.

<P>

Larry as a nice guy: 

<P>

&quot;Even if you aren't in doubt, consider the mental welfare

of the person who has to maintain the code after you, and who

will probably put parens in the wrong place.&quot;-Larry Wall

in the perl man page

<P>

Larry as a philosopher: 

<P>

&quot;What is the sound of Perl?  Is it not the sound of a wall

that people have stopped banging their heads against?&quot;-Larry

Wall in &lt;1992Aug26.184221.29627@ netlabs.com&gt;

<P>

Larry as a computer nerd:

<P>

&quot;I might be able to shoehorn a refereNCe count in on top

of the numeric value by disallowing multiple refereNCes on scalars

with a numeric value, but it wouldn't be as clean. I do occasionally

worry about that.&quot; -lwall

<P>

Larry as a programmer with impossible specifications:

<P>

&quot;You want it in one line? Does it have to fit in 80 columns?

:)&quot;-Larry Wall in &lt;7349@jpl-devvax.JPL.NASA.GOV&gt; 

<H3><A NAME="Yahoo">

Yahoo</A></H3>

<P>

<B>http://www.yahoo.com</B>

<P>

One of the best places to begin a search for information or for

files is at Yahoo. This is one of the better organized and comprehensive

search sites on the Web.

<P>

<A HREF="f22-2.gif" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/f22-2.gif"><B>Figure 22.2 : </B><I>The Yahoo Site</I>.</A>

<P>

Type a keyword into the input box and click the Search button

to search the Yahoo database.

<P>

Yahoo has separate categories for Perl and CGI. The Perl Web page

is:

<BLOCKQUOTE>

<TT><B><FONT FACE="Courier">http://www.yahoo.com/Computers_and_Internet/Programming_Languages/Perl/</FONT></B></TT>

</BLOCKQUOTE>

<P>

And the CGI page is:

<BLOCKQUOTE>

<TT><B><FONT FACE="Courier">http://www.yahoo.com/Computers_and_Internet/Internet/World_Wide_Web/CGI___Common_Gateway_Interface/</FONT></B></TT>

</BLOCKQUOTE>

<H3><A NAME="TheCGIpmModule">

The CGI.pm Module</A></H3>

<P>

<B>http://www-genome.wi.mit.edu/ftp/pub/software/WWW/cgi_docs.html</B>

<P>

<TT>CGI.pm</TT> is a module that provides

powerful fuNCtions for performing HTML form and CGI programming

with Perl. This library requires Perl 5.001m, and makes use of

object-oriented techniques. This is a must for your Perl bookmark

list.

<H3><A NAME="SelinaSolsCGIScriptArchive">

Selina Sol's CGI Script Archive</A></H3>

<P>

<B>http://www2.eff.org/~erict/Scripts/</B>

<P>

This attractive and very useful site contains links to many fairly

sophisticated CGI scripts. For example, Web Chat 1.0 contains

a slide show script, guest book, a complete shopping cart example,

and many others. This site not only provides the sample scripts

but you can also see them in action and view the HTML and other

documents that the example uses. Additionally, the examples are

fully documented, easy to understand, and are very easy to follow.

Table 22.2 shows some of the scripts and their descriptions.<BR>

<P>

<CENTER><B>Table 22.2&nbsp;&nbsp;Some of the Scripts Available

at Selina Sol's Site</B></CENTER>

<p>

<CENTER>

⌨️ 快捷键说明

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