Advanced Perl programming
With a worldwide community of users and more than a million dedicated programmers, Perl has proven to be the most effective language for the latest trends in computing and business. Every programmer must keep up with the latest tools and techniques. This updated version of Advanced Perl Programmi...
Autor principal: | |
---|---|
Otros Autores: | |
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sebastapol, California :
O'Reilly
2005.
|
Edición: | 2nd ed |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009626905806719 |
Tabla de Contenidos:
- Table of Contents; Preface; Audience; Contents; Conventions Used in This Book; Using Code Examples; We'd Like to Hear from You; Safari® Enabled; Acknowledgments; Advanced Techniques; Introspection; Preparatory Work: Fun with Globs; Aliasing; Accessing parts of a glob; Creating subroutines with glob assignment; AUTOLOAD; CORE and CORE::GLOBAL; Case Study: Hook::LexWrap; Introspection with B; Messing with the Class Model; UNIVERSAL; Dynamic Method Resolution; Case Study: Singleton Methods; Unexpected Code; Overloading; Simple operator overloading; Other operator overloading
- Non-operator overloadingTime Shifting; Doing things now with eval/BEGIN; Doing things later with CHECK; Doing things at the end with DESTROY; Case study: Acme::Dot; Conclusion; Parsing Techniques; Parse::RecDescent Grammars; Simple Parsing with Parse::RecDescent; Types of match; Actions; Debugging; More Difficult Parsing; Commit, reject, and error; Syntactic whitespace; Automating the process; And much more...; Some Examples; Parsing iCalendar data; .procmailrc; Parse::Yapp; Other Parsing Techniques; HTML::Parser; XML Parsing; And Everything Else...; Conclusion; Templating Tools
- Formats and Text::AutoformatText::Autoformat; Text::Template; Loops, Arrays, and Hashes; Security and Error Checking; Text::Template Tricks; HTML::Template; Variables and Conditions; Loops; RSS Aggregation; HTML::Mason; Basic Components; Basic Dynamism; Perl Blocks; Our RSS Aggregator; Template Toolkit; Filters; Plugins; Components and Macros; The RSS Aggregator; AxKit; Conclusion; Objects, Databases, and Applications; Beyond Flat Files; Object Serialization; Our Schema and Classes; Dumping Data; Storing and Retrieving Data; The Pruning Problem; Multilevel DBMs; Pixie; Object Databases
- Object Database PitfallsTangram; Tangram CRUD: create, read, update, delete; Database Abstraction; Trivial Mapping; Class::DBI; Relationships; Class::DBI extensions; Other Contenders; Practical Uses in Web Applications; Class::DBI and the Template Toolkit; Maypole; Other Application Frameworks; Conclusion; Natural Language Tools; Perl and Natural Languages; Handling English Text; Pluralizations and Inflections; Converting Words to Numbers; Modules for Parsing English; Splitting Up Text; Stemming and Stopwording; Categorization and Extraction; Bayesian Analysis; Keyword Extraction and Summary
- Keyword extractionExtracting Names and Places; Conclusion; Perl and Unicode; Terminology; What Is Unicode?; What Is UCS?; What is the Unicode Consortium?; Why Should I Care?; Unicode Transformation Formats; UCS-2; UTF-8; UTF-16BE; UTF-16LE; UCS-4; UTF-32; UTF-EBCDIC; UTF-7; Handling UTF-8 Data; Entering Unicode Characters; Unicode Regular Expressions; Encode; The PerlIO Trick; The Gory Details; Unicode for XS Authors; Traversing Strings; Encoding Strings; Conclusion; POE; Programming in an Event-Driven Environment; Hello, POE; Hello, Again, POE!; Wheels; A Port Forwarder
- Top-Level Pieces: Components