Learning Perl 6th Edition (Covers Perl 5.14)

时间:2018-09-19 18:47:23
【文件属性】:

文件名称:Learning Perl 6th Edition (Covers Perl 5.14)

文件大小:7.52MB

文件格式:PDF

更新时间:2018-09-19 18:47:23

Perl

英文原版,高清带索引。详细介绍了Perl语言,并带有练习题和答案,非常适合初学者。 部分目录 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Questions and Answers 1 Is This the Right Book for You? 1 Why Are There So Many Footnotes? 2 What About the Exercises and Their Answers? 3 What Do Those Numbers Mean at the Start of the Exercise? 4 What If I’m a Perl Course Instructor? 4 What Does “Perl” Stand For? 4 Why Did Larry Create Perl? 5 Why Didn’t Larry Just Use Some Other Language? 5 Is Perl Easy or Hard? 6 How Did Perl Get to Be So Popular? 7 What’s Happening with Perl Now? 7 What’s Perl Really Good For? 8 What Is Perl Not Good For? 8 How Can I Get Perl? 9 What Is CPAN? 10 How Can I Get Support for Perl? 10 Are There Any Other Kinds of Support? 10 What If I Find a Bug in Perl? 12 How Do I Make a Perl Program? 12 A Simple Program 13 What’s Inside That Program? 15 How Do I Compile My Perl Program? 16 A Whirlwind Tour of Perl 17 Exercises 18 2. Scalar Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 ... 3. Lists and Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 ... 4. Subroutines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 ... 5. Input and Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 ... 6. Hashes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 ... 7. In the World of Regular Expressions . . . . . . . . . . . . . . . . . . . . . . . . . 121 ... 8. Matching with Regular Expressions . . . . . . . . .. . . . . . . . . . . . . . . . . . 133 ... 9. Processing Text with Regular Expressions . . . . . . . . . . . . . . . . . . . . . . . 155 ... 10. More Control Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 ... 11. Perl Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189 ... 12. File Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 ... 13. Directory Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 ... 14. Strings and Sorting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 ... 15. Smart Matching and given-when . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 ... 16. Process Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259 ... 17. Some Advanced Perl Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 ... A. Exercise Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295 B. Beyond the Llama . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331 C. A Unicode Primer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353


网友评论