Special Features of This Book; Programming Examples; End-of-Day Q& A and Workshop; Conventions Used in This Book; What You'll Learn in 21 Days. Teach Yourself Perl 5 in 21 days. David Till. Table of Contents: Introduction q Who Should Read This Book? q Special Features of This Book q Programming. Sams - Teach Yourself the C sharpLanguage in 21 osakeya.info Teach Yourself Perl 5 in 21 days Ebook banner rotater for Web Programming and Administration .

Language:English, Spanish, Indonesian
Published (Last):22.04.2016
Distribution:Free* [*Registration Required]
Uploaded by: NELIDA

72649 downloads 86083 Views 11.71MB ePub Size Report

Perl In 21 Days Ebook

(eBook PDF) Teach Yourself Perl in 21 Days - Ebook download as PDF File .pdf) , Text File .txt) or read book online. Perl. Sams Teach Yourself Perl in 21 Days covers the basics of Perl in the first few chapters, and then moves on to practical issues of Perl and in-depth discussions of. osakeya.info - download Sams Teach Yourself Perl in 21 Days: Version 5 book online at best prices in India on osakeya.info Read Sams Teach Yourself Perl in 21 Days.

What does this book cover? Installing Perl on Windows and UNIX Making use of online Perl resources like CPAN First principles in programming and the Perl syntax Working with files and databases Writing web pages in Perl Using Perl as an object-oriented language Book overview Perl is a well-established programming language that has been developed through the time and effort of countless free software programmers into an immensely powerful tool that can be used on pratically every operating system in the world. Perl started out as the "Swiss army knife" of computer languages and was used primarily by system administrators, but over time it's grown into an immensely robust language used by web-developers and programmers worldwide. It's also a great way to learn programming techniques and develop your own style of coding. We'll take you from installation, through the core language elements - regular expressions, references, modules and the like - and onto basic applied techniques. You'll see how to access and work with databases in Perl, write CGI scripts to generate web pages and beyond. Coverage is bang up to date, using Perl 5. Who is this book for? This book is for those new to programming who want to learn with Perl.

Another Example: Alphabetical Lists of Names. A Few More Patterns. Day 6. Conditionals and Loops. Complex Statements and Blocks. An Example: Pick a Number. Iteration with foreach and for Loops.

Sams Teach Yourself Perl in 21 Days, Second Edition

Controlling Loops. Day 7. Exploring a Few Longer Examples.

Statistics with a Better Histogram. A Number Speller. WEEK 2. Day 8.

Teach Yourself Perl 5 in 21 days

Manipulating Lists and Strings. Array and Hash Slices. Sorting Lists. An Example: More Names. Modifying List Elements. Other Ways to Mess with Lists.

Manipulating Strings. Day 9. Pattern Matching with Regular Expressions. The Whys and Wherefores of Pattern Matching. Pattern Matching Operators and Expressions. Simple Patterns.

Matching Groups of Characters. Matching Multiple Instances of Characters. An Example: A Guessing Program. More About Building Patterns. Another Example: Counting. Pattern Precedence. Day Doing More with Regular Expressions. Extracting Matches. Using Patterns for Search and Replace. More About split. Matching Patterns over Multiple Lines. A Summary of Options and Escapes. An Example: Image Extractor.

Creating and Using Subroutines. Subroutines Versus Functions.

Defining and Calling Basic Subroutines. An Example: Son of Stats. Returning Values from Subroutines. Using Local Variables in Subroutines.

Passing Values into Subroutines. Subroutines and Context. Another Example: Stats with a Menu. Debugging Perl. Using the Debugger: A Simple Example. Starting and Running the Debugger. Perl Debugger Command Reference. Using a Graphical Debugger.

Scope, Modules, and Importing Code. Global Variables and Packages. Local Scope and Variables. Using Perl Modules. A Searchable Address Book address. A Web Log Processor weblog.


WEEK 3. Input and Output with File Handles. File Tests. A File Test Example. Another Example. Before You Start. How CGI Works. Testing the Script. An Example: Survey. Managing Files and Directories. Managing Files. Managing and Navigating Directories. This is a line of input.

Lines 2 and 3 ar e comment s, not execut abl e l ines of code. Line 4 r eads a l ine of input. Line 5 wr it es t he l ine of input on your scr een. Ther e al so is a Wor kshop at t he end of each day t hat consist s of quiz quest ions and pr ogr amming exer cises.

The answer s t o t hese quiz quest ions as wel l as sampl e sol ut ions f or t he exer cises ar e pr esent ed in Appendix A, "Answer s. G Act ual Per l code is t ypeset in a special monospace f ont. You'l l see t his f ont used in l ist ings and t he Input -Out put exampl es, as wel l as in code snippet s. In t he expl anat ions of Per l f eat ur es, commands, f il enames, st at ement s, var iabl es, and any t ext you see on t he scr een al so ar e t ypeset in t his f ont.

G Command input and anyt hing t hat you ar e supposed t o ent er appear s in a bold monospace f ont. You'l l see t his mainl y in t he Input -Out put exampl es. G Pl acehol der s in synt ax descr ipt ions appear in an italic monospace f ont. Repl ace t he pl acehol der wit h t he act ual f il ename, par amet er , or what ever el ement it r epr esent s. G Italics highl ight t echnical t er ms when t hey f ir st appear in t he t ext and ar e somet imes used t o emphasize impor t ant point s.

What You'll Learn in 21 Days In your f ir st week of l ear ning Per l , you'l l l ear n enough of t he basics of Per l t o wr it e many usef ul Per l pr ogr ams.

Day 2, " Basic Oper at or s and Cont r ol Fl ow," t eaches you about simpl e ar it hmet ic, how t o assign a val ue t o a scal ar var iabl e, and how t o cont r ol execut ion using condit ional st at ement s.

Day 3, " Under st anding Scal ar Val ues," t eaches you about int eger s, f l oat ing-point number s, and char act er st r ings. It al so shows you t hat al l t hr ee ar e int er changeabl e in Per l. Day 4, " Mor e Oper at or s," t el l s you al l about oper at or s and expr essions in Per l and t al ks about oper at or associat ivit y and pr ecedence.

Day 5, " List s and Ar r ay Var iabl es," int r oduces you t o l ist s, which ar e col l ect ions of val ues, and t o ar r ay var iabl es, which st or e l ist s.

Teach Yourself Perl 5 in 21 Days - David Till - Google книги

Day 7, " Pat t er n Mat ching," descr ibes pat t er n-mat ching in Per l and shows how you can subst it ut e val ues and t r ansl at e set s of char act er s in t ext st r ings.

By t he end of Week 2, you'l l have mast er ed al most al l t he f eat ur es of Per l ; you'l l al so have l ear ned about many of t he l ibr ar y f unct ions suppl ied wit h t he l anguage. Her e's a summar y of what you'l l l ear n: Day 8, " Mor e Cont r ol St r uct ur es," discusses t he cont r ol f l ow st at ement s not pr eviousl y cover ed. Day 9, " Using Subr out ines," shows how you can br eak your pr ogr am int o smal l er , mor e manageabl e, chunks.

Day 10, " Associat ive Ar r ays," int r oduces one of t he most power f ul and usef ul const r uct s in Per l -ar r ays-and it shows how you can use t hese ar r ays t o simul at e ot her dat a st r uct ur es. Day 11, " For mat t ing Your Out put ," shows how you can use Per l t o pr oduce t idy r epor t s. Day 12, " Wor king wit h t he Fil e Syst em," shows how you can int er act wit h your syst em's dir ect or y st r uct ur e. Day 13, " Pr ocess, St r ing, and Mat hemat ical Funct ions," descr ibes t he l ibr ar y f unct ions t hat int er act wit h pr ocesses r unning on t he syst em.

It al so descr ibes t he f unct ions t hat per f or m t r igonomet r ic and ot her mat hemat ical oper at ions, and t he f unct ions t hat oper at e on st r ings.

TOP Related

Copyright © 2019 osakeya.info. All rights reserved.
DMCA |Contact Us