Beginning Perl Programming: From Novice to Professional
Book information
Description
Get started with Perl 5 and learn the important core concepts of Perl programming, such as variables, flow control, expressions, and I/O. Additionally, this book covers pattern matching and shows that Perl is extremely flexible and powerful, and that it isn’t afraid of the cloud. After reading and using this book, you'll be able to start writing your own powerful scripts to solve many web and programming problems. This is a book for those of us who believed that we didn’t need to learn Perl, and now we know it is more ubiquitous than ever. You’ll see that Perl has evolved into a multipurpose, multiplatform language present absolutely everywhere: heavy-duty web applications, the cloud, systems administration, natural language processing, and financial engineering. This book provides valuable insight into Perl’s role regarding all of these tasks and more giving you a great start in your Perl programming adventure. What You Will Learn Perform operations on scalar valuesUse scalar, array, and associative array variablesWork with flow control statements such as if, unless, while, until, for, and foreachRead and write directly to files with file handles Use conditional expressions such as numeric and string comparison, regular expressions, file testing, and Perl statementsFormat output with format statements Search for and replace sub-strings within a string using regular expressionsMaster Perl utilities such as split, join, index and moreControl the file system and processes from within a Perl scriptBuild functions for tasks including handling the scope of variablesImport existing modules into your Perl script Who This Book Is For Those who are new to Perl. Front Matter ....Pages i-xxi Origin of Perl (William “Bo” Rothwell)....Pages 1-16 Scalar Variables (William “Bo” Rothwell)....Pages 17-39 Array Variables (William “Bo” Rothwell)....Pages 41-55 Associative Array Variables (William “Bo” Rothwell)....Pages 57-70 Flow Control (William “Bo” Rothwell)....Pages 71-85 Conditional Expressions (William “Bo” Rothwell)....Pages 87-99 Basic Input and Output (William “Bo” Rothwell)....Pages 101-109 Advanced Input and Output (William “Bo” Rothwell)....Pages 111-128 Pattern Matching (William “Bo” Rothwell)....Pages 129-152 Perl Utilities (William “Bo” Rothwell)....Pages 153-163 Filesystem and Process Control (William “Bo” Rothwell)....Pages 165-174 Functions (William “Bo” Rothwell)....Pages 175-188 Using Modules (William “Bo” Rothwell)....Pages 189-193 Debugging Perl (William “Bo” Rothwell)....Pages 195-198 Back Matter ....Pages 199-202
Similar books
Accelerator Programming Using Directives: 6th International Workshop, WACCPD 2019, Denver, CO, USA, November 18, 2019, Revised Selected Papers
2020 · PDF
Programming Languages and Systems: 18th Asian Symposium, APLAS 2020, Fukuoka, Japan, November 30 – December 2, 2020, Proceedings
2020 · PDF
Grundkurs JAVA: Von den Grundlagen bis zu Datenbank- und Netzanwendungen
2020 · PDF
Java in 14 Wochen: Ein Lehrbuch für Studierende der Wirtschaftsinformatik
2020 · PDF
C++ mit Visual Studio 2019 und Windows Forms-Anwendungen : C++17 für Studierende und erfahrene Programmierer – Windows Programme mit C++ entwickeln
2020 · PDF
C++ mit Visual Studio 2019: C++17 für Studierende und erfahrene Programmierer
2021 · PDF
XcalableMP PGAS Programming Language: From Programming Model to Applications
2021 · PDF
Raku Recipes: A Problem-Solution Approach
2020 · PDF