By brian d foy
If you’re a programmer, approach administrator, or net hacker simply getting began with Perl, this workbook is helping you achieve hands-on event with the language without delay. It’s the suitable spouse to the sixth variation of studying Perl (known as “the Llama”), that is in keeping with the preferred introductory Perl direction taught via the book’s authors when you consider that 1991.
The first 1/2 this workbook offers the workouts, with solutions within the moment part. the cloth covers Perl as much as model 5.14.
Topics include:
- Scalar Data
- Lists and Arrays
- Subroutines
- Input and Output
- Hashes
- Regular Expressions
- Control Structures
- Perl Modules
- File Tests
- Directory Operations
- Strings and Sorting
- Smart Matching
- Process Management
- Some complicated Perl Techniques
- Databases
Read Online or Download Learning Perl Student Workbook PDF
Similar 90 minutes books
15 Things Highly Happy Wives and Girlfriends Understand About Men That You Don't
Listed below are the various truths you will examine during this publication that would make facing the fellow on your lifestyles a lot easier:Why you are surroundings your self up for failure when you consider "what you will have in a man"- and the right kind approach to body that subject. .. the object that drives males loopy that you simply do if you end up having "one-on-one" time that makes him now not are looking to comply with spend time with you the following time.
The Astounding Adventures of Tintin
Stopover at the realm of Tintin during this publication approximately Herge's brilliant sequence of Tintin adventures.
- On Martial Arts, Zen, and the Blue-Eyed, Red-Bearded Barbarian
- Vietnam Marines 1965-73 (Elite)
- Partial Derivatives
- Yangtze River Gunboats 1900-49
Extra info for Learning Perl Student Workbook
Example text
If the first argument is *, it multiplies the numbers and returns the product. The first argument is a string, not just the bare operator. 6. Write a subroutine that takes a list of strings and separates the list just as you would in prose: with two items, put " and " between them. For three or more items, separate all but the last two with commas, and separate the last two with " and " (and perhaps a Harvard comma). 1. Write a program to read lines from all of the files on the command line and print out each line prefaced with its filename.
Add up the numbers from 1 to 1,000. Do it using the sum subroutine from List::Util, then redo it by using reduce from the same module. 9. Use the pairwise subroutine from List::MoreUtils to add the corresponding elements in two arrays. Databases Learning Perl, Third Edition was the last edition to contain the “Databases” chapter. Although this chapter is not in the current edition of Learning Perl, I leave it in this book as a bonus chapter in case you want to use the third edition or just want to practice some extra Perl.
Write a program that reads lines of input and splits it into words. Use a hash to keep a count of the number of times you’ve seen each word then create a report of the count for each word. Does it count uppercase and lowercase versions of the same word? Does it handle punctuation and other “non-word” characters? 4. Using a for loop, write a program to report a table of squares and cubes for the multiples of 3 between 3 and 99. 5. Write a program to count the number of lines in a Perl program. Skip blank lines and lines that only have a comment.