Learning Perl"O'Reilly Media, Inc.", 23. juni 2011 - 363 sider If you're just getting started with Perl, this is the book you want—whether you're a programmer, system administrator, or web hacker. Nicknamed "the Llama" by two generations of users, this bestseller closely follows the popular introductory Perl course taught by the authors since 1991. This 6th edition covers recent changes to the language up to version 5.14. Perl is suitable for almost any task on almost any platform, from short fixes to complete web applications. Learning Perl teaches you the basics and shows you how to write programs up to 128 lines long—roughly the size of 90% of the Perl programs in use today. Each chapter includes exercises to help you practice what you've just learned. Other books may teach you to program in Perl, but this book will turn you into a Perl programmer. Topics include:
|
Innhold
Chapter 1 Introduction | 1 |
Chapter 2 Scalar Data | 21 |
Chapter 3 Lists and Arrays | 43 |
Chapter 4 Subroutines | 63 |
Chapter 5 Input and Output | 81 |
Chapter 6 Hashes | 107 |
Chapter 7 In the World of Regular Expressions | 121 |
Chapter 8 Matching with Regular Expressions | 133 |
Chapter 12 File Tests | 203 |
Chapter 13 Directory Operations | 215 |
Chapter 14 Strings and Sorting | 235 |
Chapter 15 Smart Matching and givenwhen | 247 |
Chapter 16 Process Management | 259 |
Chapter 17 Some Advanced Perl Techniques | 277 |
Appendix A Exercise Answers | 295 |
Appendix B Beyond the Llama | 331 |
Chapter 9 Processing Text with Regular Expressions | 155 |
Chapter 10 More Control Structures | 169 |
Chapter 11 Perl Modules | 189 |
Appendix C A Unicode Primer | 343 |
353 | |