Beginning Perl (Expert's Voice in Open Source) by James Lee

By James Lee

This is a booklet for these folks who believed that we didn’t have to examine Perl, and now we all know it truly is extra ubiquitous than ever. Perl is intensely versatile and strong, and it isn’t terrified of internet 2.0 or the cloud. initially touted because the duct tape of the net, Perl has on account that advanced right into a multipurpose, multiplatform language current completely in all places: heavy-duty internet purposes, the cloud, platforms management, traditional language processing, and monetary engineering. Beginning Perl, 3rd Edition presents precious perception into Perl’s function concerning all of those projects and more.

Commencing with a complete evaluate of language fundamentals, you’ll research all approximately very important suggestions comparable to Perl’s information varieties and keep watch over move constructs. This fabric units the degree for a dialogue of extra complicated issues, comparable to writing customized services, utilizing standard expressions, and dossier enter and output. subsequent, the e-book strikes directly to the complex issues of object-oriented programming, modules, internet programming, and database management with Perl’s strong database interface module, DBI. The examples and code supplied provide you with the entire info you must begin writing your individual robust scripts to unravel the issues indexed above, and plenty of more.

Whether you're a whole amateur or an skilled programmer, Beginning Perl, 3rd Edition deals an incredible consultant to studying Perl.

Show description

Read or Download Beginning Perl (Expert's Voice in Open Source) PDF

Best object-oriented design books

Building Java Enterprise Systems with J2EE

The sensible attitude of creating Java company platforms with J2EE presents the conceptual history and wealth of code examples had to really gather structures in an invaluable demeanour with the J2EE applied sciences. additionally, this booklet demonstrates how the applied sciences supplement and construct on most sensible of each other through evolution of a cohesive and genuine pattern software.

Beginning Perl (Expert's Voice in Open Source)

This can be a e-book for these folks who believed that we didn’t have to examine Perl, and now we all know it really is extra ubiquitous than ever. Perl is intensely versatile and robust, and it isn’t petrified of internet 2. zero or the cloud. initially touted because the duct tape of the net, Perl has for the reason that developed right into a multipurpose, multiplatform language current totally far and wide: heavy-duty internet functions, the cloud, platforms management, common language processing, and fiscal engineering.

Developing Modular-Oriented Simulation Models Using System Dynamics Libraries (SpringerBriefs in Electrical and Computer Engineering)

This SpringerBrief introduces the improvement and functional software of a module-oriented improvement framework for area particular system-dynamic libraries (SDL approach), which might be utilized in the simulation of multi-causal and dynamic relationships on diverse degrees of an undefined, to illustrate the development undefined.

Extra resources for Beginning Perl (Expert's Voice in Open Source)

Sample text

The most important thing you need to bear in mind, though, is that you're never going to be able to express a task to a computer if you can't express it to yourself. Computer programming leaves little room for vague specifications and hand waving. If you want to write a program to, say, remove useless files from your computer, you need to be able to explain how to determine whether a file is useless or not. You need to examine and break down your own mental processes when carrying out the task for yourself-do you mean a file that hasn't been accessed for a long time?

There'll also be some things that you don't want to stick in the middle of your program, because they would make it messy or confusing. However, you'll want to refer to some of these characters in strings that you output. Perl provides us with mechanisms called escape sequences as an alternative way of getting to them. We've already seen the use of \n to start a new line. Table 1-llists the more common escape sequences. Table 1-1. Escape Sequences Escape Sequence Meaning \t \n Tab Start a new line (usually called newline) \r Carriage return \b Back up one character (backspace) Alarm (rings the system bell) Unicode character \a \x{1F18} In the last example, 1Fl8 is a hexadecimal number (see the upcoming section "Number Systems") referring to a character in the Unicode character set, which runs from 0000-FFFE As another example, \x{2620} is the Unicode character for a skull-and-crossbones!

Pl print "Four sevens are ". pl Four sevens are 28 $ The other string operator is the repetition operator, marked with an x. pl print "GO! pl GO! GO! GO! $ We can, of course, use it in conjunction with concatenation. pl print "Ba" . pl Banananana $ In this case, the repetition is done first ("nananana'') and then it is concatenated with the "Ba''. pl line 4. Bao Banananananananananananana $ Why was the first one Bao? The first thing was the repetition, giving us "nananana''. Then the multiplication-What's "nananana'' times three?

Download PDF sample

Rated 4.18 of 5 – based on 43 votes