Synopses & Reviews
Checking links, batch editing HTML files, tracking users, and writing CGI scripts--these are the often tedious daily tasks that can be done much more easily with Perl, the scripting language that runs on almost all computing platforms. If you're more interested in streamlining your web activities than in learning a new programming language, Perl for Web Site Management is for you: it's not so much about learning Perl as it is about using Perl to do common web chores more efficiently.The secret is that, although becoming a Perl expert may be hard, most Perl scripts are relatively simple. Using Perl and other open source tools, you'll learn how to:
- Incorporate a simple search engine
- Write a simple CGI gateway
- Convert multiple text files into HTML
- Monitor log files
- Track users as they navigate your site
Even if you don't have any programming background, this book will get you quickly past Perl's seemingly forbidding barrier of chops and chomps, execs and elsifs. You'll be able to put an end to using clunky tools, editing files tediously by hand, or relying on programmers and system administrators to do "the hard stuff" for you. Sure, you might learn a little bit about programming as well, and perhaps something about the role of open source tools on the Web. But the purpose of
Perl for Web Site Management isn't to educate you--it's to empower you. Whether you're a developer, a designer, or simply a dabbler on the Web, this book is the plain-English, hands-on introduction to Perl you've been waiting for.
Synopsis
Checking links, batch editing HTML files, tracking users, and writing CGI scripts--these are the often tedious daily tasks that can be done much more easily with Perl, the scripting language that runs on almost all computing platforms. For readers more interested in streamlining Web activities than in learning a new programming language, "Perl for Web Site Management" is the perfect solution.
About the Author
John Callender is an independent consultant specializing in web development. He has been a teacher, writer, editor, and network administrator.
Table of Contents
Preface; Intended Audience; Programmers by Accident; What This Book Offers; Organization; Online Examples; Conventions Used in This Book; How to Contact Us; Acknowledgments; Chapter 1: Getting Your Tools in Order; 1.1 Open Source Versus Proprietary Software; 1.2 Evaluating a Hosting Provider; 1.3 Web Hosting Alternatives; 1.4 Getting Started with SSH/Telnet; 1.5 Meet the Unix Shell; 1.6 Network Troubleshooting; 1.7 A Suitable Text Editor; Chapter 2: Getting Started with Perl; 2.1 Finding Perl on Your System; 2.2 Creating the "Hello, world!" Script; 2.3 The Dot Slash Thing; 2.4 Unix File Permissions; 2.5 Running (and Debugging) the Script; 2.6 Perl Documentation; 2.7 Perl Variables; 2.8 A Bit More About Quoting; 2.9 "Hello, world!" as a CGI Script; Chapter 3: Running a Form-to-Email Gateway; 3.1 Checking for CGI.pm; 3.2 Creating the HTML Form; 3.3 The