Beginning Perl by James Lee

By James Lee

Originally created as a strong textual content processing software, Perl has for the reason that advanced right into a multi-purpose, multi-platform language able to enforcing numerous projects similar to procedure management, CGI and community programming, XML processing, and extra. Beginning Perl, moment Edition offers beneficial perception into Perl's function in all of those projects and more.

Commencing with a complete evaluate of language fundamentals, you are going to research all approximately vital strategies equivalent to Perl's information kinds and keep watch over movement constructs. This fabric units the degree for a dialogue of extra advanced subject matters, reminiscent of writing customized capabilities, utilizing general expressions, and dossier enter and output. subsequent, we flow directly to the complex themes of item orientated programming, modules, CGI programming, and database management with Perl's strong database interface module, DBI. The examples and code supplied provide you with the entire details you must commence writing your individual strong scripts to resolve the issues indexed above, and plenty of more.

Whether you're a entire beginner or an skilled programmer, Beginning Perl, moment Edition bargains an excellent advisor to studying Perl.

Show description

Read Online or Download Beginning Perl PDF

Similar object-oriented design books

Creating Effective JavaHelp

JavaHelp is an internet aid method constructed within the Java™ programming language. growing powerful JavaHelp covers the most positive aspects and techniques of JavaHelp and exhibits easy methods to create a easy JavaHelp approach, organize support subject matters, and installation the assistance method in an program. Written for all degrees of Java builders and technical writers, the e-book takes a chapter-by-chapter method of construction recommendations, to impart a whole realizing of the way to create usable JavaHelp structures and combine them into Java purposes and applets.

Practical Liferay: Java™-based Portal Applications Development

Liferay Portal is the major open-source firm portal framework that makes use of Java and internet 2. zero applied sciences. net portals usually functionality as some degree of entry to details at the world-wide-web. internet portals, similar to Yahoo! , current details from various resources in a unified method. other than the hunt engine average, internet portals provide different companies akin to e–mail, information, inventory costs, infotainment, and numerous different positive aspects.

Modern Fortran Explained

Fortran continues to be one of many imperative programming languages utilized in high-performance medical, numerical, and engineering computing. a chain of important revisions to the traditional types of the language have steadily more advantageous its services and the newest ordinary, Fortran 2008, comprises many smooth good points, corresponding to item orientation, coarrays for parallel programming, interoperability with C and diverse different improvements.

Mastering JavaScript Object-oriented Programming

Key FeaturesCovering the entire new Object-Oriented gains brought in ES6, this booklet indicates you ways to construct large-scale internet appsBuild apps that advertise scalability, maintainability, and reusabilityLearn well known Object-Oriented programming (OOP) ideas and layout styles to construct strong appsImplement Object-Oriented thoughts in quite a lot of front-end architecturesBook DescriptionECMAScript 6 introduces numerous new Object-Oriented positive aspects that enormously switch the best way builders constitution their tasks.

Additional info for Beginning Perl

Example text

So much for what you have to do-what does the computer have to do? Once we have specified the task in our programming language, the computer takes our instructions and performs them. This is called running or executing the program. Usually, we'll specify the instructions in a file, which we edit with an ordinary text editor; sometimes, if we have got a small program, we can get away with typing the whole thing in at the command line. Either way, the instructions that we give to the computer-in this case, written in Perl-are collectively called the source code (or sometimes just source) to our program.

We're actually testing if 0 is more than 3, which has the opposite effect to what we wanted. , we can also use the slightly easier-to-read versions, and, or, and not. There's also xor, for exclusive or (one or the other but not both are true), which doesn't have a symbolic form. pl line Test one: Test two: 1$ s. We can tell from the presence of the warning about line 5 and from the position of the prompt that something is amiss (or least Unix users can-Windows users need to be a bit more alert since Windows automatically adds a newline character at the end of the program so the system prompt will be on the next line, but the blank line that is expected will not be there).

The first operators we're going to meet are the quote-like operators that do this for us. They're written as ql I and qql I, the first acting like a single-quoted string, and the second like a double-quoted string. pl print qqi'"Hi," said Jack. "'\nl; Alternative Delimiters That's all very well, of course, until we want a I in the string. "-now we're back where we started, having to escape things again. Thankfully, Perl allows us to choose our own delimiters so we don't have to stick with I I. Any nonalphanumeric (that is, nonalphabetic and nonnumeric) character can be used as a delimiter, provided it's the same on both sides of the text.

Download PDF sample

Rated 4.48 of 5 – based on 47 votes