Programming the Network with Perl

KM on 2002-03-01T13:32:30

Paul Barry (barryp) writes "My book, Programming the Network with Perl, has just been published by John Wiley & Sons Ltd.

I've spent the last 18 months (or so) writing the book which uses Perl as a vehicle through which to study computer networking. Based on a final year, software engineering undergraduate module that I've taught for a number of years now (at The Institute of Technology, Carlow, in Ireland), the book begins with a 35 page tutorial introduction to Perl. I then devote an individual chapter to five computer networking topics, each presented from the perspective of a software engineer using Perl. The topics are: Ethernet Network Analysis, Sockets Programming, Internet Protocols Programming, Network Management and Mobile Agents. Along the way, readers of the book (hopefully) learn a little more about Perl and a lot about computer networking.

Standard and CPAN modules/libraries covered include: NetPacket, Net::Pcap, Net::PcapUtils, Socket, IO::Socket::INET, libnet, libwww-perl, Net::Telnet, Net::Ping, Net::SNMP and Agent Perl.

Although primarily targeted at third level education, I feel there's plenty in the book to interest the Perl programming community at large, specifically those of you involved in systems administration, network management and/or network applications development.

It is my impression that Perl is becoming more popular (and accepted) within the academic world. It has (obviously) always been covered in relation to the Web and CGI. I strongly believe that Perl as a programming technology is now mature enough to be considered for use in other areas of study. I hope my book is the first of many such "Perl textbooks".

More information can be found on the books website. Alternatively, click here to go directly to the publishers webpage for the book."


35 page intro?

djberg96 on 2002-03-01T13:47:18

Personally, I say remove the "Intro to Perl" portion of the book. People buy books like this because they want to expand their knowledge of Perl. They'll buy an intro to Perl book in order to actually learn the language.

Re:35 page intro?

barryp on 2002-03-01T13:58:18

Note that the book is primarily aimed at students (or programmers of other languages). The introduction to Perl was included to give them enough to get going. Obviously, I don't for a second assume that my short introductory chapter is enough. In fact, at the end of the chapter I provide a list of what I feel are the essential Perl books. I do think, however, that I needed to include the chapter so as to make sure everyone was on the same (or better) level before getting into the main topics. Note that the 35 pages is a small portion of the 400 or so in the book. Thanks for the comment.

How different from L. Stein's book

rochlin on 2002-03-01T18:08:11

Hopefully this book is substantially different from Lincoln Stein's excellent Network Programming With Perl. Just from the description it seems like there's a heck of a lot of overlap, though the new book seems more focussed on teaching general concepts, using Perl as a teaching tool.

Re:How different from L. Stein's book

barryp on 2002-03-01T19:55:58

Glad you mentioned this. My book complements Lincoln's. I refer to his book within mine, and they are very different (although on the face of things, they do sound similar). I really did not want to write a "me too" book, as doing so would not have added anything to the community. In brief (and as you mentioned), my book is focused on teaching computer networking with Perl. Lincoln's is aimed at the professional programmer - it is a great book and one that I recommend to all my students. But, I teach from mine. Thanks.

Re:How different from L. Stein's book

solhell on 2002-03-06T13:45:54

Lincoln Stein's book is incredibly well written. And I am happy to see that another book has been published about perl & network programming.

Re:How different from L. Stein's book

barryp on 2002-03-06T14:14:08

I agree - Lincoln's book is great. It it my hope that Perl programmers serious about network programming would have a copy of both Lincoln's and my book on their Perl bookshelf. Let's face it: I'd be a nut to try and compete directly with Lincoln. That's why I stated in an earlier reply that I feel my book complements his. There is a certain amount of unavoidable overlap, but we both cover topics (in some detail) that the other doesn't.

I'm pleased you welcome another book in this area. I hope you find mine to be well written, too. Thanks.