Advanced Perl Programming

By Simon Cozens

With a global neighborhood of clients and greater than one million devoted programmers, Perl has confirmed to be the best language for the most recent tendencies in computing and business.

Every programmer needs to stay alongside of the most recent instruments and methods. This up-to-date model of Advanced Perl Programming from O'Reilly can provide the fundamental wisdom of the trendy Perl programmer. no matter what your present point of Perl services, this booklet might help you push your talents to the following point and turn into a extra complete programmer.

O'Reilly's so much high-level Perl educational thus far, Advanced Perl Programming, moment version teaches you the entire advanced strategies for production-ready Perl courses. This thoroughly up to date advisor in actual fact explains strategies similar to introspection, overriding built-ins, extending Perl's object-oriented version, and trying out your code for higher stability.

Other themes include:

  • Complex facts structures
  • Parsing
  • Templating toolkits
  • Working with traditional language data
  • Unicode
  • Interaction with C and different languages

In addition, this consultant demystifies as soon as complicated subject matters like object-relational mapping and event-based development-arming you with every little thing you want to thoroughly improve your skills.

Praise for the second one Edition:

"Sometimes the most important hurdle to challenge fixing is not the topic itself yet quite the sheer variety of modules Perl presents. Advanced Perl Programming walks you thru Perl's TMTOWTDI ("There's a couple of approach to Do It") woodland, explaining and evaluating the easiest modules for every activity so that you can intelligently follow them in numerous situations." --Rocco Caputo, lead developer of POE

"It has been stated that sufficiently complex Perl code is indistinguishable from magic. This booklet of spells is going a ways to unlocking these secrets and techniques. It has the facility to rework the main humble programmer right into a Perl wizard." --Andy Wardley

"The details the following is not theoretical. It provides instruments and strategies for fixing actual difficulties cleanly and elegantly." --Curtis 'Ovid' Poe

" Advanced Perl Programming collects richly deserved wisdom from the very best programmers within the Perl neighborhood, and explains it in a manner that even newbies can follow immediately." --chromatic, Editor of Perl.com

Show description

Preview of Advanced Perl Programming PDF

Similar Linux books

Embedded Linux Primer: A Practical Real-World Approach (2nd Edition)

Up to date, whole tips for constructing Embedded suggestions with Linux   Linux has emerged as today’s number one working method for embedded items. Christopher Hallinan’s Embedded Linux Primer has confirmed itself because the definitive real-world advisor to construction effective, high-value, embedded structures with Linux.

The Official Ubuntu Book (5th Edition)

Ubuntu is a whole, unfastened working procedure that emphasizes neighborhood, aid, and simplicity of use with out compromising pace, energy, or flexibility. It’s Linux for people, designed for everybody from desktop rookies to specialists. Ubuntu 10. 04 is the newest release—more robust, extra versatile, and friendlier than ever.

Advanced Linux Networking

With a growing number of networks and mission-critical functions working on Linux, approach, and community directors needs to be capable of do greater than arrange a server and depend upon its default configuration. this article is designed that can assist you in attaining a better point of competence. It specializes in robust recommendations and lines of Linux networking and gives you with the information you must enhance server potency, improve defense, and adapt to new standards.

Guide to Assembly Language Programming in Linux

Introduces Linux techniques to programmers who're acquainted with different working platforms similar to home windows XP offers finished insurance of the Pentium meeting language

Extra info for Advanced Perl Programming

Show sample text content

End Perl's Unicode help has constructed slowly and gradually during the last few models, however it is now at some degree the place you can actually write significant courses with center Unicode parts. expectantly this bankruptcy has proven you a few of the issues that Perl's Unicode help can let you do and the way deploying Unicode can keep loads of difficulty with exchange personality repertoires. we have checked out the variations among Unicode and legacy encodings, and some of the diverse UTF encodings. As we've famous, Perl speaks UTF-8 internally yet attempts difficult to permit clients to take advantage of Unicode positive aspects with out understanding something in regards to the inner illustration. Perl's help for Unicode extends to distinguishing among personality and byte semantics, supplying Unicode personality escapes and names, and transcoding modules to permit effortless enter of legacy info. now we have additionally visible what to do if Unicode does not behave as you could count on, and the way to transform outdated XS code to help Unicode information. bankruptcy 7. POE during this bankruptcy, we'll examine what Mark-Jason Dominus known as "the finest improvement in Perl 5": the Perl item atmosphere. POE has many ambitions and plenty of makes use of; to offer some of them: offer a cooperative scheduling and multitasking setting rivalling threads and IPC Simplify the improvement of protocol-driven community consumers and servers supply an structure for developing kingdom machines summary away many of the uninteresting I/O information from advanced courses As you'll discover, POE is a tough factor to describe,[*] however the major aspect is that POE makes an attempt to conceal the menial information of event-driven programming. Programming in an Event-Driven atmosphere If you have ever programmed a graphical software utilizing anything like Tk or Gtk, you are going to comprehend that it is a little assorted than traditional procedural programming. In basic programming, you write a series of items you would like this system to do, and it does them. besides the fact that, GUIs do not paintings like that—instead, you put up an atmosphere (a window, for example) that responds to yes occasions (clicking a button or identifying a menu item). this can be known as the event-driven paradigm . it isn't simply GUIs that use this paradigm. for instance, a community server doesn't do a series of occasions, however it sits looking ahead to a connection (an event), after which companies the relationship looking on the enter from the buyer. whilst the customer is completed and disconnects, it is going again to watching for the subsequent occasion. equally, you may write anything that watches over a listing; it sits round gazing, periodically taking a look at the documents within the listing, and because it detects alterations made to the records, it fires off sure responses. The center of the event-driven paradigm is the development loop, also known as the most loop. Tk has one, the development module has one, and POE, an event-driven atmosphere, has one. POE's occasion loop is dealt with via the POE kernel. As now we have acknowledged, POE might be regarded as a minute working procedure, and so the identify kernel isn't any accident.

Download PDF sample

Rated 4.47 of 5 – based on 18 votes