Perl's original designer was Larry Wall (Larry Wall), which was published on December 18, 1987. Perl borrows the features of C, sed, awk, shell scripting, and many other programming languages. Larry Wall Published version 1.0 of the Perl scripting
one. DataType (data type ):Perl's data types are roughly four: Scalar (variables), Scalar Array (array), hash array (hash), References (pointer), but they seem to be small but more than sufficient. In particular, you can write a Perl program without
I. Data Types(Data type):
Perl has four data types: Scalar (variable), Scalar Array (Array), Hash Array (Hash), and References (pointer ), it seems to be rare, but it is more than enough to use it. Especially when writing Perl programs, you do not
Perl contains some predefined file handles. For example, standard input stdin and standard outputStdout, And standard errorsStderr. The standard error stderr is an additional output path. How can we understand this sentence? Let's look at an example.
How to Use eclipse to debug a Perl application before 11:30:36
This tutorial will introduce the debugging functions provided by the eclipse epic plug-in. This plug-in provides a rich debugging environment that can be used in the epic Perl
Perl + fastcgi + nginx Build
Nginx + fastcgi is the most popular environment in PHP, then Perl will also have fastcgi it, of course, Today to build the next Nginx Perl fastcgi. Performance is no less than PHP, but now the popularity of Web programs
14th Chapter PERL5 Packages and modulesby FlamephoenixFirst, Require function1. Require functions and sub-Libraries2. Specify the Perl version with requireSecond, the package1, the definition of the package2, switch between the package3. Main
Reprinted: http://blog.csdn.net/jallin2001/archive/2009/11/13/4808618.aspx
The regular expression character set is often used to extract or exclude Chinese characters from a string. However, this is very troublesome and the effect is not very
Perl Code implementation:
#!/usr/bin/perl use
strict;
Use warnings;
Use diagnostics;
Open (LOG, ' > ', ' log_file ') or die "Can ' t redirect stdout: $!";
Open (CMD, ' ls | ');
Open (STDERR, ' >& ', STDOUT) or die "Can ' t redirect STDERR: $!";
Part I Programming Perl 1 Perl Data Types 1.1 Funny Characters
Type
Character
Example is
a name for:
Scalar
$
$cents
An individual value (number or string)
Array
@
@large
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.