By Sriram Srinivasan

ISBN-10: 1565922204

ISBN-13: 9781565922204

Even if your wisdom of Perl is informal or deep, this ebook will make you a extra finished programmer. It covers advanced strategies for coping with production-ready Perl courses and explains equipment for manipulating facts and items that could have appeared like magic ahead of. moreover, it units Perl within the context of a bigger atmosphere, giving you the historical past you would like for facing networks, databases, and GUIs. it is usually a dialogue of internals that can assist you software extra successfully and embed Perl inside of C or C inside Perl. significant subject matters contain the sensible use of programs and periods (object-oriented programming), advanced facts constructions, endurance (e.g., utilizing a database), networking, graphical interfaces utilizing the Tk toolkit, interplay with c programming language services, embedding and lengthening the Perl interpreter, and chosen internals.

Show description

Read Online or Download Advanced Perl Programming PDF

Similar javascript books

Download PDF by Kyle Simpson: You Don't Know JS: Scope & Closures

Irrespective of how a lot event you've gotten with JavaScript, odds are you don’t totally comprehend the language. This concise but in-depth consultant takes you inside of scope and closures, middle suggestions you must be aware of to develop into a extra effective and powerful JavaScript programmer. You’ll find out how and why they paintings, and the way an realizing of closures could be a strong a part of your improvement skillset.

New PDF release: Getting Started with WebRTC

Discover WebRTC for real-time peer-to-peer verbal exchange review manage video calls simply with a low bandwidth audio in basic terms alternative utilizing WebRTC expand your program utilizing real-time text-based chat, and collaborate simply by means of including real-time drag-and-drop dossier sharing Create your individual totally operating WebRTC software in mins intimately WebRTC provides web-based real-time verbal exchange and is decided to revolutionize our view of what the internet relatively is.

Download PDF by Hage Yaapa: Express Web Application Development

Convey is a minimum and versatile node. js net software framework, supplying a strong set of beneficial properties for construction unmarried and multi-page, and hybrid net purposes. It presents a skinny layer of beneficial properties basic to any internet program, with no obscuring positive factors that builders comprehend and love in node.

Get Angular 2 By Example PDF

Observe every little thing you must recognize to construct your personal Angular 2 purposes the hands-on approach Angular 2 might help you construct quicker, extra effective, and extra versatile cross-platform functions. Angular 2 is understood for taking the discomfort out of javascript improvement, and allowing extra prepared, readable, and testable code.

Extra info for Advanced Perl Programming

Example text

So in a matrix with 10 rows and 5 columns, the element (8, 4) will have the number 38 (7 * 5 + 3) and hence can be referred to as $r_mat->{38}. We actually use this scheme in Chapter 15, GUI Example: Tetris (though that usage is more for convenience than for saving space). The choice of data structure depends on the size of the matrices, performance, and coding convenience. Changing the data structure of a program clearly ends up changing all code that depends on it. To contain the amount of changes required (should the structure change), it is always a good idea to have only a small set of procedures that know the structure.

On the other hand, reference counting is simple to understand and implement and makes it easy to integrate Perl with C or C++ code. 8, "Resources" section at the end of the chapter for a comprehensive treatment of garbage collection techniques. Note that while symbolic references allow you to access variables in an indirect way, no actual reference variables are created. In other words, the reference count of a symbolically accessed variable is not modified. Hence symbolic references are also called soft references, in contrast to hard references, which actually allocate storage to keep track of the indirection.

1 Hash of Hashes Representation If the matrix is large and sparse (only a few elements have nonzero values), a hash of hashes is likely a more space-efficient representation. For example, the matrix can be built like this: $matrix{0}{2} = 100; $matrix{1}{0} = 200; $matrix{2}{1} = 300; The code above creates a hash table, %matrix, which maps a row number to a nested hash. Only rows with nonzero elements are represented. Each nested hash maps a column number to the actual value of the element at that row and column.

Download PDF sample

Advanced Perl Programming by Sriram Srinivasan

by James

Rated 4.10 of 5 – based on 38 votes