作者:Lincoln D. Stein
出版日期:January 6, 2001
出版社:Addison Wesley
页数:784
ISBN:ISBN-10: 0201615711 ISBN-13: 978-0201615715
文件格式:CHM
Review“Network programming”–the term had a distinct meaning once, butnow it begs the question, “Is there another kind?” That’s why LincolnStein’s Network Programming with Perl is valuable. It showshow one of the world’s top Perl authorities brings the language to bearon problems that require communication among computers, showing thatyou may not have to resort to Java as soon as you may have thought tomeet a networking requirement. What’s more, Stein doesn’t assume youhave a lot of Perl expertise. An intermediate-level familiarity withthe language should enable you to understand the examples in the bookand follow its classic code-and-commentary structure.Stein presentsfull, working scripts, calling attention to particularly interestinglines and passages by repeating them in the text. If a program makesuse of an unusual or previously undiscussed function (and lots of themdo, because one of the author’s missions is to introduce the contentsof specialized libraries), its syntax and legal parameters will bedocumented and a concise statement of its behavior provided. Theexample programs are the best part of this book, though. As theproblems get more complicated, it’s fun to watch Stein solve them withefficient, attractive code. Unless you’re a really experiencedprofessional, you’ll be able to study the examples in this book andlearn a lot. –David WallTopics covered:
Perl function libraries and techniques that allow programs to interact with resources over a networkIO::Socket libraryNet::FTP libraryNet::Telnet libraryNet::SMTP libraryChat problemsInternet Message Access Protocol (IMAP) issuesMarkup-language parsingInternet Protocol (IP) broadcasting and multicasting