Intermediate Perl [Elektronisk resurs]
-
Schwartz, Randal. (författare)
-
foy, brian. (författare)
-
Phoenix, Tom. (författare)
- ISBN 9780596555313
- Publicerad: Sebastopol : O'Reilly Media, Inc. 2009
- Engelska 1 online resource (397 p.)
Innehållsförteckning
Sammanfattning
Ämnesord
Stäng
- Intermediate Perl; Preface; Conventions Used in This Book; Using Code Examples; Comments and Questions; Safari® Enabled; Acknowledgments; 1. Introduction; 1.2. What About All Those Footnotes?; 1.3. What&s with the Exercises?; 1.4. What If I&m a Perl Course Instructor?; 2. Intermediate Foundations; 2.1.2. Transforming Lists with map; 2.2. Trapping Errors with eval; 2.3. Dynamic Code with eval; 2.4. Exercises; 2.4.2. Exercise 2 [25 min]; 3. Using Modules; 3.2. Using Modules; 3.3. Functional Interfaces; 3.4. Selecting What to Import; 3.5. Object-Oriented Interfaces.
- 3.6. A More Typical Object-Oriented Module: Math::BigInt3.7. The Comprehensive Perl Archive Network; 3.8. Installing Modules from CPAN; 3.9. Setting the Path at the Right Time; 3.10. Exercises; 3.10.2. Exercise 2 [35 min]; 4. Introduction to References; 4.2. Taking a Reference to an Array; 4.3. Dereferencing the Array Reference; 4.4. Getting Our Braces Off; 4.5. Modifying the Array; 4.6. Nested Data Structures; 4.7. Simplifying Nested Element References with Arrows; 4.8. References to Hashes; 4.9. Exercises; 4.9.2. Exercise 2 [30 min]; 5. References and Scoping.
- 5.2. What If That Was the Name?5.3. Reference Counting and Nested Data Structures; 5.4. When Reference Counting Goes Bad; 5.5. Creating an Anonymous Array Directly; 5.6. Creating an Anonymous Hash; 5.7. Autovivification; 5.8. Autovivification and Hashes; 5.9. Exercises; 5.9.2. Exercise 2 [40 min]; 6. Manipulating Complex Data Structures; 6.2. Viewing Complex Data with Data::Dumper; 6.3. YAML; 6.4. Storing Complex Data with Storable; 6.5. Using the map and grep Operators; 6.6. Applying a Bit of Indirection; 6.7. Selecting and Altering Complex Data; 6.8. Exercises; 6.8.2. Exercise 2 [5 min].
- 7. Subroutine References7.2. Anonymous Subroutines; 7.3. Callbacks; 7.4. Closures; 7.5. Returning a Subroutine from a Subroutine; 7.6. Closure Variables as Inputs; 7.7. Closure Variables as Static Local Variables; 7.8. Exercise; 8. Filehandle References; 8.2. The Improved Way; 8.3. The Even Better Way; 8.4. IO::Handle; 8.4.2. Anonymous IO::File Objects; 8.4.3. IO::Scalar; 8.4.4. IO::Tee; 8.5. Directory Handle References; 8.6. Exercises; 8.6.2. Exercise 2 [30 min]; 8.6.3. Exercise 3 [15 min]; 9. Practical Reference Tricks; 9.2. Sorting with Indices; 9.3. Sorting Efficiently.
- 9.4. The Schwartzian Transform9.5. Multi-Level Sort with the Schwartzian Transform; 9.6. Recursively Defined Data; 9.7. Building Recursively Defined Data; 9.8. Displaying Recursively Defined Data; 9.9. Exercises; 9.9.2. Exercise 2 [15 min]; 9.9.3. Exercise 3 [10 min]; 9.9.4. Exercise 4 [20 min]; 10. Building Larger Programs; 10.2. Inserting Code with eval; 10.3. Using do; 10.4. Using require; 10.5. require and @INC; 10.5.2. Extending @INC with PERL5LIB; 10.5.3. Extending @INC with -I; 10.6. The Problem of Namespace Collisions; 10.7. Packages as Namespace Separators.
- 10.8. Scope of a Package Directive.
- Perl is a versatile, powerful programming language used in a variety of disciplines, ranging from system administration to web programming to database manipulation. One slogan of Perl is that it makes easy things easy and hard things possible. Intermediate Perl is about making the leap from the easy things to the hard ones. Originally released in 2003 as Learning Perl Objects, References, and Modules and revised and updated for Perl 5.8, this book offers a gentle but thorough introduction to intermediate programming in Perl. Written by the authors of the best-selling Learning Perl, it picks
Ämnesord
- Perl (Computer program language).
Genre
- Electronic books. (LCSH)
Klassifikation
- QA76.73.P22S368 2006 (LCC)
- 005.133 (DDC)
- Pubbz (kssb/8 (machine generated))
Inställningar
Hjälp
Titeln finns på 5 bibliotek.
Ange som favorit
-
Kungliga Tekniska högskolan, E-resurser (Tdig)Ange som favorit
-
Bibliotekets lokala katalog
-
-
Läs hela (Online access for KTHB) (fulltext) (O'Reilly Learning)
Öppettider, adress m.m.
Ange som favorit
-
Göteborgs universitetsbibliotek, E-resurser (Gdix)Ange som favorit
-
Bibliotekets lokala katalogFind@GU
-
-
Läs hela (Tillgänglig för Göteborgs universitet / Online access for the University of Gothenburg) (O'Reilly Online Learning: Academic/Public Library Edition:Full Text)
Öppettider, adress m.m.
-
Högskolan i Borås, Biblioteket, Digitala resurser (Hibd)Ange som favorit
-
Bibliotekets lokala katalog
-
-
Läs hela (Tillgänglig för användare inom Högskolan i Borås) (fulltext) (O’Reilly eBooks)
Öppettider, adress m.m.
Ange som favorit
-
Blekinge Tekniska Högskola, biblioteket, Digitala resurser (Bthd)Ange som favorit
-
Bibliotekets webbplats
-
-
Läs hela (Online access for BTH) (O'Reilly Online Learning: Academic/Public Library Edition)
Öppettider, adress m.m.
-
Högskolan Kristianstad, E-resurser (KrhE)Ange som favorit
-
Bibliotekets webbplats
-
-
Läs hela (Online access for HKR) (O'Reilly Academic)
Öppettider, adress m.m.