In this chapter, we’ll examine how Tk can access the wealth of information available on the World Wide Web. Using the Library for WWW Access in Perl (LWP), we’ll develop tkcomics, a web client to fetch images of our favorite comics and display them in a Perl/Tk window.
One of the Web’s most popular Clients is Netscape. It’s an extensible application that allows developers to write plug-ins—loadable chunks of code often written in C—which add functionality to the basic browser. We’ll learn how to execute client-side Perl/Tk programs via the PerlPlus plug-in.