Makefile.PL Section 16.5

Total Page:16

File Type:pdf, Size:1020Kb

Makefile.PL Section 16.5 Intermediate Perl By brian d foy, Tom Phoenix, Randal L. Schwartz ............................................... Publisher: O'Reilly Pub Date: March 2006 Print ISBN-10: 0-596-10206-2 Print ISBN-13: 978-0-59-610206-7 Pages: 278 Table of Contents | Index 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 up where that book left off. Topics include: Packages and namespaces References and scoping Manipulating complex data structures Object-oriented programming Writing and using modules Testing Perl code Contributing to CPAN Following the successful format of Learning Perl, we designed each chapter in the book to be small enough to be read in just an hour or two, ending with a series of exercises to help you practice what you've learned. To use the book, you just need to be familiar with the material inLearning Perl and have ambition to go further. Perl is a different language to different people. It is a quick scripting tool for some, and a fully- featured object-oriented language for others. It is used for everything from performing quick global replacements on text files, to crunching huge, complex sets of scientific data that take weeks to process. Perl is what you make of it. But regardless of what you use Perl for, this book helps you do it more effectively, efficiently, and elegantly. Intermediate Perl is about learning to use Perl as a programming language, and not just a scripting language. This is the book that turns the Perl dabbler into the Perl programmer. Intermediate Perl By brian d foy, Tom Phoenix, Randal L. Schwartz ............................................... Publisher: O'Reilly Pub Date: March 2006 Print ISBN-10: 0-596-10206-2 Print ISBN-13: 978-0-59-610206-7 Pages: 278 Table of Contents | Index Intermediate Perl Foreword Preface Structure of This Book Conventions Used in This Book Using Code Examples Comments and Questions Safari® Enabled Acknowledgments Chapter 1. Introduction Section 1.1. What Should You Know Already? Section 1.2. What About All Those Footnotes? Section 1.3. What's with the Exercises? Section 1.4. What If I'm a Perl Course Instructor? Chapter 2. Intermediate Foundations Section 2.1. List Operators Section 2.2. Trapping Errors with eval Section 2.3. Dynamic Code with eval Section 2.4. Exercises Chapter 3. Using Modules Section 3.1. The Standard Distribution Section 3.2. Using Modules Section 3.3. Functional Interfaces Section 3.4. Selecting What to Import Section 3.5. Object-Oriented Interfaces Section 3.6. A More Typical Object-Oriented Module: Math::BigInt Section 3.7. The Comprehensive Perl Archive Network Section 3.8. Installing Modules from CPAN Section 3.9. Setting the Path at the Right Time Section 3.10. Exercises Chapter 4. Introduction to References Section 4.1. Performing the Same Task on Many Arrays Section 4.2. Taking a Reference to an Array Section 4.3. Dereferencing the Array Reference Section 4.4. Getting Our Braces Off Section 4.5. Modifying the Array Section 4.6. Nested Data Structures Section 4.7. Simplifying Nested Element References with Arrows Section 4.8. References to Hashes Section 4.9. Exercises Chapter 5. References and Scoping Section 5.1. More Than One Reference to Data Section 5.2. What If That Was the Name? Section 5.3. Reference Counting and Nested Data Structures Section 5.4. When Reference Counting Goes Bad Section 5.5. Creating an Anonymous Array Directly Section 5.6. Creating an Anonymous Hash Section 5.7. Autovivification Section 5.8. Autovivification and Hashes Section 5.9. Exercises Chapter 6. Manipulating Complex Data Structures Section 6.1. Using the Debugger to View Complex Data Section 6.2. Viewing Complex Data with Data::Dumper Section 6.3. YAML Section 6.4. Storing Complex Data with Storable Section 6.5. Using the map and grep Operators Section 6.6. Applying a Bit of Indirection Section 6.7. Selecting and Altering Complex Data Section 6.8. Exercises Chapter 7. Subroutine References Section 7.1. Referencing a Named Subroutine Section 7.2. Anonymous Subroutines Section 7.3. Callbacks Section 7.4. Closures Section 7.5. Returning a Subroutine from a Subroutine Section 7.6. Closure Variables as Inputs Section 7.7. Closure Variables as Static Local Variables Section 7.8. Exercise Chapter 8. Filehandle References Section 8.1. The Old Way Section 8.2. The Improved Way Section 8.3. The Even Better Way Section 8.4. IO::Handle Section 8.5. Directory Handle References Section 8.6. Exercises Chapter 9. Practical Reference Tricks Section 9.1. Review of Sorting Section 9.2. Sorting with Indices Section 9.3. Sorting Efficiently Section 9.4. The Schwartzian Transform Section 9.5. Multi-Level Sort with the Schwartzian Transform Section 9.6. Recursively Defined Data Section 9.7. Building Recursively Defined Data Section 9.8. Displaying Recursively Defined Data Section 9.9. Exercises Chapter 10. Building Larger Programs Section 10.1. The Cure for the Common Code Section 10.2. Inserting Code with eval Section 10.3. Using do Section 10.4. Using require Section 10.5. require and @INC Section 10.6. The Problem of Namespace Collisions Section 10.7. Packages as Namespace Separators Section 10.8. Scope of a Package Directive Section 10.9. Packages and Lexicals Section 10.10. Exercises Chapter 11. Introduction to Objects Section 11.1. If We Could Talk to the Animals... Section 11.2. Introducing the Method Invocation Arrow Section 11.3. The Extra Parameter of Method Invocation Section 11.4. Calling a Second Method to Simplify Things Section 11.5. A Few Notes About @ISA Section 11.6. Overriding the Methods Section 11.7. Starting the Search from a Different Place Section 11.8. The SUPER Way of Doing Things Section 11.9. What to Do with @_ Section 11.10. Where We Are So Far... Section 11.11. Exercises Chapter 12. Objects with Data Section 12.1. A Horse Is a Horse, of Course of Courseor Is It? Section 12.2. Invoking an Instance Method Section 12.3. Accessing the Instance Data Section 12.4. How to Build a Horse Section 12.5. Inheriting the Constructor Section 12.6. Making a Method Work with Either Classes or Instances Section 12.7. Adding Parameters to a Method Section 12.8. More Interesting Instances Section 12.9. A Horse of a Different Color Section 12.10. Getting Our Deposit Back Section 12.11. Don't Look Inside the Box Section 12.12. Faster Getters and Setters Section 12.13. Getters That Double as Setters Section 12.14. Restricting a Method to Class-Only or Instance-Only Section 12.15. Exercise Chapter 13. Object Destruction Section 13.1. Cleaning Up After Yourself Section 13.2. Nested Object Destruction Section 13.3. Beating a Dead Horse Section 13.4. Indirect Object Notation Section 13.5. Additional Instance Variables in Subclasses Section 13.6. Using Class Variables Section 13.7. Weakening the Argument Section 13.8. Exercise Chapter 14. Some Advanced Object Topics Section 14.1. UNIVERSAL Methods Section 14.2. Testing Our Objects for Good Behavior Section 14.3. AUTOLOAD as a Last Resort Section 14.4. Using AUTOLOAD for Accessors Section 14.5. Creating Getters and Setters More Easily Section 14.6. Multiple Inheritance Section 14.7. Exercises Chapter 15. Exporter Section 15.1. What use Is Doing Section 15.2. Importing with Exporter Section 15.3. @EXPORT and @EXPORT_OK Section 15.4. %EXPORT_TAGS Section 15.5. Exporting in a Primarily OO Module Section 15.6. Custom Import Routines Section 15.7. Exercises Chapter 16. Writing a Distribution Section 16.1. There's More Than One Way To Do It Section 16.2. Using h2xs Section 16.3. Embedded Documentation Section 16.4. Controlling the Distribution with Makefile.PL Section 16.5. Alternate Installation Locations (PREFIX=...) Section 16.6. Trivial make test Section 16.7. Trivial make install Section 16.8. Trivial make dist Section 16.9. Using the Alternate Library Location Section 16.10. Exercise Chapter 17. Essential Testing Section 17.1. More Tests Mean Better Code Section 17.2. A Simple Test Script Section 17.3. The Art of Testing Section 17.4. The Test Harness Section 17.5. Writing Tests with Test::More Section 17.6. Testing Object-Oriented Features Section 17.7. A Testing To-Do List Section 17.8. Skipping Tests Section 17.9. More Complex Tests (Multiple Test Scripts) Section 17.10. Exercise Chapter 18. Advanced Testing Section 18.1. Testing Large Strings Section 18.2. Testing Files Section 18.3. Testing STDOUT or STDERR Section 18.4. Using Mock Objects Section 18.5. Testing POD Section 18.6. Coverage Testing Section 18.7. Writing Your Own Test::* Modules Section 18.8. Exercises Chapter 19. Contributing to CPAN Section 19.1. The Comprehensive Perl Archive Network Section 19.2. Getting Prepared Section 19.3. Preparing Your Distribution Section 19.4. Uploading Your Distribution Section 19.5. Announcing the Module Section 19.6. Testing on Multiple Platforms Section 19.7. Consider Writing an Article or Giving a Talk Section 19.8. Exercise Appendix A. Answers to Exercises Section A.1.
Recommended publications
  • Learning Perl Through Examples Part 2 L1110@BUMC 2/22/2017
    www.perl.org Learning Perl Through Examples Part 2 L1110@BUMC 2/22/2017 Yun Shen, Programmer Analyst [email protected] IS&T Research Computing Services Spring 2017 Tutorial Resource Before we start, please take a note - all the codes and www.perl.org supporting documents are accessible through: • http://rcs.bu.edu/examples/perl/tutorials/ Yun Shen, Programmer Analyst [email protected] IS&T Research Computing Services Spring 2017 Sign In Sheet We prepared sign-in sheet for each one to sign www.perl.org We do this for internal management and quality control So please SIGN IN if you haven’t done so Yun Shen, Programmer Analyst [email protected] IS&T Research Computing Services Spring 2017 Evaluation One last piece of information before we start: www.perl.org • DON’T FORGET TO GO TO: • http://rcs.bu.edu/survey/tutorial_evaluation.html Leave your feedback for this tutorial (both good and bad as long as it is honest are welcome. Thank you) Yun Shen, Programmer Analyst [email protected] IS&T Research Computing Services Spring 2017 Today’s Topic • Basics on creating your code www.perl.org • About Today’s Example • Learn Through Example 1 – fanconi_example_io.pl • Learn Through Example 2 – fanconi_example_str_process.pl • Learn Through Example 3 – fanconi_example_gene_anno.pl • Extra Examples (if time permit) Yun Shen, Programmer Analyst [email protected] IS&T Research Computing Services Spring 2017 www.perl.org Basics on creating your code How to combine specs, tools, modules and knowledge. Yun Shen, Programmer Analyst [email protected] IS&T Research Computing
    [Show full text]
  • EN-Google Hacks.Pdf
    Table of Contents Credits Foreword Preface Chapter 1. Searching Google 1. Setting Preferences 2. Language Tools 3. Anatomy of a Search Result 4. Specialized Vocabularies: Slang and Terminology 5. Getting Around the 10 Word Limit 6. Word Order Matters 7. Repetition Matters 8. Mixing Syntaxes 9. Hacking Google URLs 10. Hacking Google Search Forms 11. Date-Range Searching 12. Understanding and Using Julian Dates 13. Using Full-Word Wildcards 14. inurl: Versus site: 15. Checking Spelling 16. Consulting the Dictionary 17. Consulting the Phonebook 18. Tracking Stocks 19. Google Interface for Translators 20. Searching Article Archives 21. Finding Directories of Information 22. Finding Technical Definitions 23. Finding Weblog Commentary 24. The Google Toolbar 25. The Mozilla Google Toolbar 26. The Quick Search Toolbar 27. GAPIS 28. Googling with Bookmarklets Chapter 2. Google Special Services and Collections 29. Google Directory 30. Google Groups 31. Google Images 32. Google News 33. Google Catalogs 34. Froogle 35. Google Labs Chapter 3. Third-Party Google Services 36. XooMLe: The Google API in Plain Old XML 37. Google by Email 38. Simplifying Google Groups URLs 39. What Does Google Think Of... 40. GooglePeople Chapter 4. Non-API Google Applications 41. Don't Try This at Home 42. Building a Custom Date-Range Search Form 43. Building Google Directory URLs 44. Scraping Google Results 45. Scraping Google AdWords 46. Scraping Google Groups 47. Scraping Google News 48. Scraping Google Catalogs 49. Scraping the Google Phonebook Chapter 5. Introducing the Google Web API 50. Programming the Google Web API with Perl 51. Looping Around the 10-Result Limit 52.
    [Show full text]
  • Coleman-Coding-Freedom.Pdf
    Coding Freedom !" Coding Freedom THE ETHICS AND AESTHETICS OF HACKING !" E. GABRIELLA COLEMAN PRINCETON UNIVERSITY PRESS PRINCETON AND OXFORD Copyright © 2013 by Princeton University Press Creative Commons Attribution- NonCommercial- NoDerivs CC BY- NC- ND Requests for permission to modify material from this work should be sent to Permissions, Princeton University Press Published by Princeton University Press, 41 William Street, Princeton, New Jersey 08540 In the United Kingdom: Princeton University Press, 6 Oxford Street, Woodstock, Oxfordshire OX20 1TW press.princeton.edu All Rights Reserved At the time of writing of this book, the references to Internet Web sites (URLs) were accurate. Neither the author nor Princeton University Press is responsible for URLs that may have expired or changed since the manuscript was prepared. Library of Congress Cataloging-in-Publication Data Coleman, E. Gabriella, 1973– Coding freedom : the ethics and aesthetics of hacking / E. Gabriella Coleman. p. cm. Includes bibliographical references and index. ISBN 978-0-691-14460-3 (hbk. : alk. paper)—ISBN 978-0-691-14461-0 (pbk. : alk. paper) 1. Computer hackers. 2. Computer programmers. 3. Computer programming—Moral and ethical aspects. 4. Computer programming—Social aspects. 5. Intellectual freedom. I. Title. HD8039.D37C65 2012 174’.90051--dc23 2012031422 British Library Cataloging- in- Publication Data is available This book has been composed in Sabon Printed on acid- free paper. ∞ Printed in the United States of America 1 3 5 7 9 10 8 6 4 2 This book is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE !" We must be free not because we claim freedom, but because we practice it.
    [Show full text]
  • Teach Yourself Perl 5 in 21 Days
    Teach Yourself Perl 5 in 21 days David Till Table of Contents: Introduction ● Who Should Read This Book? ● 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 Week 1 Week at a Glance ● Where You're Going Day 1 Getting Started ● What Is Perl? ● How Do I Find Perl? ❍ Where Do I Get Perl? ❍ Other Places to Get Perl ● A Sample Perl Program ● Running a Perl Program ❍ If Something Goes Wrong ● The First Line of Your Perl Program: How Comments Work ❍ Comments ● Line 2: Statements, Tokens, and <STDIN> ❍ Statements and Tokens ❍ Tokens and White Space ❍ What the Tokens Do: Reading from Standard Input ● Line 3: Writing to Standard Output ❍ Function Invocations and Arguments ● Error Messages ● Interpretive Languages Versus Compiled Languages ● Summary ● Q&A ● Workshop ❍ Quiz ❍ Exercises Day 2 Basic Operators and Control Flow ● Storing in Scalar Variables Assignment ❍ The Definition of a Scalar Variable ❍ Scalar Variable Syntax ❍ Assigning a Value to a Scalar Variable ● Performing Arithmetic ❍ Example of Miles-to-Kilometers Conversion ❍ The chop Library Function ● Expressions ❍ Assignments and Expressions ● Other Perl Operators ● Introduction to Conditional Statements ● The if Statement ❍ The Conditional Expression ❍ The Statement Block ❍ Testing for Equality Using == ❍ Other Comparison Operators ● Two-Way Branching Using if and else ● Multi-Way Branching Using elsif ● Writing Loops Using the while Statement ● Nesting Conditional Statements ● Looping Using
    [Show full text]
  • Perl for Windows NT Administrators
    BY ROBERT MANGOLD Perl for Windows NT Administrators s the author demonstrates, scripting in Perl can save Windows NT administrators time when Aperforming a variety of tasks. this ever happened to you? The phone rings at WHY PERL? HAS your NT support desk. You are the person on duty, and the security enforcement officer tells you that the screen What is Perl? Perl stands for “Practical Extraction and saver should start after 10 minutes of idle time, not 15 minutes. Report Language,” or “Pathologically Eclectic Rubbish You’re faced with the agonizing task of changing the screen Lister”— both definitions are sanctioned by the Perl com- saver start time on the 1,000 Windows NT workstations that munity (seriously!). Perl is a programming language, like C you just deployed. What can you do? or Java. Wait! Before you mutter in disgust and hastily flip to In another scenario, say you are in a meeting with your the next article, bear with me. You may be thinking, “I’m not boss, and he tells you to rename the server that holds the a programmer, nor do not want to be a programmer. I will not roaming profiles. You will need to change the profile path on ‘go gentle into that good night.’” (I could not resist using a roughly 700 user accounts. Your boss asks you how long it quote from Dylan Thomas.) will take to accomplish this task, and you know that you will So, why should you become familiar with Perl? Simple. It have to make the changes after hours, but it’s your son’s second can save you time, win you friends, allow you to have a more birthday party tonight.
    [Show full text]
  • Proceedings YAPC::Europe 2012 .Com Perl Software Development Services Table of Contents 
    Proceedings YAPC::Europe 2012 .com Perl Software Development Services Table of contents Foreword 5 FatPacker: understanding and appreciating the insanity 6 Vorbild::Beitrag::POD 8 CGI.pm MUST DIE - Together we shall annihilate CGI.pm! 9 CPANTS: Kwalitative website and its tools 10 Designing the Internet of Things: Arduino and Perl 11 Dancing with WebSockets 12 Dancer 2 - Official status: 14 Practical Dancer: moving away from CGI 16 Bringing Perl to a Younger Generation 18 Asynchronous programming FTW! 22 Mojolicious 24 Continuous deployment with Perl 36 Array programming for mere mortals 37 Ontology Aware Applications 42 Distributed Code Review in Perl - State of the Practice 48 address-sanitizer - A fast memory error detector 52 Exceptional Perl 6 55 The joy of breaking stuff 59 Macros in Rakudo 66 Why statement modifiers can harm maintainability! 70 A discussion on how to organize a Perl Mongers group 72 Building C/C++ libraries with Perl 74 8PSMET#1*O0OMJOF"DDPNNPEBUJPO3FTFSWBUJPOTBOETUJMMHSPXJOH 8FOFFE1FSM%FWFMPQFST .Z4RM%#"T 8FVTF1FSM 1VQQFU "QBDIF 4PGUXBSF%FWFMPQFST 4ZT"ENJOT .Z42- .FNDBDIF (JU -JOVY $JTDP 8FC%FTJHOFST 'SPOU&OE%FWFMPQFST +VOJQFSBOENPSF /FUXPSL&OHJOFFSTBOENPSFw /08)*3*/( (SFBUMPDBUJPOJOUIFDFOUFSPG"NTUFSEBN $PNQFUJUJWF4BMBSZ3FMPDBUJPO1BDLBHF *OUFSOBUJPOBM SFTVMUESJWFOEZOBNJDXPSLFOWJSPONFOU *OUFSFTUFE XXXCPPLJOHDPNKPCT Foreword 5 Welcome to YAPC::Europe 2012. This is the fourteenth European Perl conference! The Frankfurt 8PSMET#1*O0OMJOF"DDPNNPEBUJPO3FTFSWBUJPOTBOETUJMMHSPXJOH Perlmongers have great pleasure in hosting this event this year. We‘d like to welcome you here in Frankfurt. The city that is now the heart of the Perl community for at least days. We have attendees from more than 40 countries all over the world, so there is a rich mix of different cultures and different people.
    [Show full text]
  • Programming Perl (Nutshell Handbooks) Randal L. Schwartz
    [PDF] Programming Perl (Nutshell Handbooks) Randal L. Schwartz, Larry Wall - pdf download free book Programming Perl (Nutshell Handbooks) PDF, Programming Perl (Nutshell Handbooks) Download PDF, Programming Perl (Nutshell Handbooks) by Randal L. Schwartz, Larry Wall Download, Programming Perl (Nutshell Handbooks) Full Collection, Read Best Book Online Programming Perl (Nutshell Handbooks), Read Online Programming Perl (Nutshell Handbooks) Ebook Popular, Download Free Programming Perl (Nutshell Handbooks) Book, Download PDF Programming Perl (Nutshell Handbooks), pdf free download Programming Perl (Nutshell Handbooks), by Randal L. Schwartz, Larry Wall Programming Perl (Nutshell Handbooks), the book Programming Perl (Nutshell Handbooks), Download Programming Perl (Nutshell Handbooks) Online Free, Read Online Programming Perl (Nutshell Handbooks) Book, Read Programming Perl (Nutshell Handbooks) Full Collection, Programming Perl (Nutshell Handbooks) PDF read online, Programming Perl (Nutshell Handbooks) Ebooks, Programming Perl (Nutshell Handbooks) Free Download, Programming Perl (Nutshell Handbooks) Free PDF Download, Programming Perl (Nutshell Handbooks) Books Online, PDF Download Programming Perl (Nutshell Handbooks) Free Collection, CLICK HERE FOR DOWNLOAD pdf, mobi, epub, azw, kindle Description: About the Author Randal L. Schwartz is a two-decade veteran of the software industry. He is skilled in software design, system administration, security, technical writing, and training. Randal has coauthored the "must-have" standards: Programming Perl, Learning Perl, Learning Perl for Win32 Systems, and Effective Perl Learning, and is a regular columnist for WebTechniques, PerformanceComputing, SysAdmin, and Linux magazines. He is also a frequent contributor to the Perl newsgroups, and has moderated comp.lang.perl.announce since its inception. His offbeat humor and technical mastery have reached legendary proportions worldwide (but he probably started some of those legends himself).
    [Show full text]
  • Intermediate Perl
    SECOND EDITION Intermediate Perl Randal L. Schwartz, brian d foy, and Tom Phoenix Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo Intermediate Perl, Second Edition by Randal L. Schwartz, brian d foy, and Tom Phoenix Copyright © 2012 Randal Schwartz, brian d foy, Tom Phoenix. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or [email protected]. Editors: Simon St. Laurent and Shawn Wallace Indexer: Lucie Haskins Production Editor: Kristen Borg Cover Designer: Karen Montgomery Copyeditor: Absolute Service, Inc. Interior Designer: David Futato Proofreader: Absolute Service, Inc. Illustrator: Rebecca Demarest March 2006: First Edition. August 2012: Second Edition. Revision History for the Second Edition: 2012-07-20 First release See http://oreilly.com/catalog/errata.csp?isbn=9781449393090 for release details. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Intermediate Perl, the image of an alpaca, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information con- tained herein.
    [Show full text]
  • Table of Contents • Index • Reviews • Reader Reviews • Errata Perl 6 Essentials by Allison Randal, Dan Sugalski, Leopold Tötsch
    • Table of Contents • Index • Reviews • Reader Reviews • Errata Perl 6 Essentials By Allison Randal, Dan Sugalski, Leopold Tötsch Publisher: O'Reilly Pub Date: June 2003 ISBN: 0-596-00499-0 Pages: 208 Slots: 1 Perl 6 Essentials is the first book that offers a peek into the next major version of the Perl language. Written by members of the Perl 6 core development team, the book covers the development not only of Perl 6 syntax but also Parrot, the language-independent interpreter developed as part of the Perl 6 design strategy. This book is essential reading for anyone interested in the future of Perl. It will satisfy their curiosity and show how changes in the language will make it more powerful and easier to use. 1 / 155 • Table of Contents • Index • Reviews • Reader Reviews • Errata Perl 6 Essentials By Allison Randal, Dan Sugalski, Leopold Tötsch Publisher: O'Reilly Pub Date: June 2003 ISBN: 0-596-00499-0 Pages: 208 Slots: 1 Copyright Preface How This Book Is Organized Font Conventions We'd Like to Hear from You Acknowledgments Chapter 1. Project Overview Section 1.1. The Birth of Perl 6 Section 1.2. In the Beginning . Section 1.3. The Continuing Mission Chapter 2. Project Development Section 2.1. Language Development Section 2.2. Parrot Development Chapter 3. Design Philosophy Section 3.1. Linguistic and Cognitive Considerations Section 3.2. Architectural Considerations Chapter 4. Syntax Section 4.1. Variables Section 4.2. Operators Section 4.3. Control Structures Section 4.4. Subroutines Section 4.5. Classes and Objects Section 4.6.
    [Show full text]
  • Learning Perl. 5Th Edition [PDF]
    Learning Perl ,perlroadmap.24755 Page ii Tuesday, June 17, 2008 8:15 AM Other Perl resources from O’Reilly Related titles Advanced Perl Programming Perl Debugger Pocket Intermediate Perl Reference Mastering Perl Perl in a Nutshell Perl 6 and Parrot Essentials Perl Testing: A Developer’s Perl Best Practices Notebook Perl Cookbook Practical mod-perl Perl Books perl.oreilly.com is a complete catalog of O’Reilly’s books on Perl Resource Center and related technologies, including sample chapters and code examples. Perl.com is the central web site for the Perl community. It is the perfect starting place for finding out everything there is to know about Perl. Conferences O’Reilly brings diverse innovators together to nurture the ideas that spark revolutionary industries. We specialize in document- ing the latest tools and systems, translating the innovator’s knowledge into useful skills for those in the trenches. Visit conferences.oreilly.com for our upcoming events. Safari Bookshelf (safari.oreilly.com) is the premier online refer- ence library for programmers and ITprofessionals. Conduct searches across more than 1,000 books. Subscribers can zero in on answers to time-critical questions in a matter of seconds. Read the books on your Bookshelf from cover to cover or sim- ply flip to the page you need. Try it today with a free trial. main.title Page iii Monday, May 19, 2008 11:21 AM FIFTH EDITION LearningTomcat Perl™ The Definitive Guide Randal L. Schwartz,Jason Tom Brittain Phoenix, and and Ian brian F. Darwin d foy Beijing • Cambridge • Farnham • Köln • Sebastopol • Taipei • Tokyo Learning Perl, Fifth Edition by Randal L.
    [Show full text]
  • Pragmaticperl-Interviews-A4.Pdf
    Pragmatic Perl Interviews pragmaticperl.com 2013—2015 Editor and interviewer: Viacheslav Tykhanovskyi Covers: Marko Ivanyk Revision: 2018-03-02 11:22 © Pragmatic Perl Contents 1 Preface .......................................... 1 2 Alexis Sukrieh (April 2013) ............................... 2 3 Sawyer X (May 2013) .................................. 10 4 Stevan Little (September 2013) ............................. 17 5 chromatic (October 2013) ................................ 22 6 Marc Lehmann (November 2013) ............................ 29 7 Tokuhiro Matsuno (January 2014) ........................... 46 8 Randal Schwartz (February 2014) ........................... 53 9 Christian Walde (May 2014) .............................. 56 10 Florian Ragwitz (rafl) (June 2014) ........................... 62 11 Curtis “Ovid” Poe (September 2014) .......................... 70 12 Leon Timmermans (October 2014) ........................... 77 13 Olaf Alders (December 2014) .............................. 81 14 Ricardo Signes (January 2015) ............................. 87 15 Neil Bowers (February 2015) .............................. 94 16 Renée Bäcker (June 2015) ................................ 102 17 David Golden (July 2015) ................................ 109 18 Philippe Bruhat (Book) (August 2015) . 115 19 Author .......................................... 123 i Preface 1 Preface Hello there! You have downloaded a compilation of interviews done with Perl pro- grammers in Pragmatic Perl journal from 2013 to 2015. Since the journal itself is in Russian
    [Show full text]
  • Effective Perl Programming
    Effective Perl Programming Second Edition The Effective Software Development Series Scott Meyers, Consulting Editor Visit informit.com/esds for a complete list of available publications. he Effective Software Development Series provides expert advice on Tall aspects of modern software development. Books in the series are well written, technically sound, and of lasting value. Each describes the critical things experts always do—or always avoid—to produce outstanding software. Scott Meyers, author of the best-selling books Effective C++ (now in its third edition), More Effective C++, and Effective STL (all available in both print and electronic versions), conceived of the series and acts as its consulting editor. Authors in the series work with Meyers to create essential reading in a format that is familiar and accessible for software developers of every stripe. Effective Perl Programming Ways to Write Better, More Idiomatic Perl Second Edition Joseph N. Hall Joshua A. McAdams brian d foy Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein.
    [Show full text]