http://www.perlmonks.org?node_id=925460

lblake has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks, I want to learn about network programming using perl and wanted to know which of the following books would a good place to start: 1: Network Programming with Perl by Lincoln D.Stein. or 2: Network Programming with Perl by Paul Barry Thanks

  • Comment on Network Programming with Perl Book Recommendation

Replies are listed 'Best First'.
Re: Network Programming with Perl Book Recommendation
by Anonymous Monk on Sep 12, 2011 at 13:19 UTC
      Thanks these books where printed a while back so my concern is the material/modules used will be out of date?
        I have read the book from Lincoln D.Stein and it is fine as an introduction to network programming in Perl. If you know nothing about the matter you will learn a lot reading it.

        Reading W. Richard Stevens book as recommended by repellent may also be a good idea because Perl network built-ins are just light wrappers around the C APIs provided by your OS and it is very useful to understand what's going on under the hood.

        In any case, your concerns are founded. None of those will teach you modern Perl network programming techniques, as for instance how to use frameworks like POE or AnyEvent. But once you know the basics, getting to learn those should be pretty smooth.

        Actually what I would really advise against doing is trying to learn how to use some high level framework without understanding the network programming basis.

        They won't, IO::Socket, LWP... they're all still building blocks of anything that might have come after

Re: Network Programming with Perl Book Recommendation
by repellent (Priest) on Sep 13, 2011 at 03:44 UTC