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
What is Perl?
Perl is a high-level programming language, written by Larry Wall and many others, and incorporates the characteristics of many languages. It is mainly by the ubiquitous C language, followed by the SED, Awk,unix shell and at least a
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
Perl as an explanatory language, is very popular with the system administrators, the benefits of not much to say, the disadvantages of many, such as the support of the thread has been not good, so most of the time, we need a number of processes to
Process processing functions
1. Process Start functionFunction name EvalCall Syntax eval (string)The commentary considers a string as a Perl statement execution.When executed correctly, the system variable $@ is an empty string, and if there is an
I. Process processing functions
1. Process startup Function
Function Name eval
Call the syntax eval (string)
Describe the stringPerlStatement execution.
After the command is correctly executed, the system variable $ @ is an empty string. If an error
Thread: A scan that uses multithreading to handle large amounts of data and encounters a possible deadlock in read-write files. The life cycle of a Perl thread1. Use the Create () method of the Threads package: Use threads; Sub Say_hello {
Built-in variable $_:Let's take a look at an example:
Copy Code code as follows:
#!/usr/bin/perl-w
@array = QW (a b c d);
foreach (@array) {
Print $_, "";
}
The role of an example is to define an array and print out the
Thread: A scan that uses multithreading to handle large amounts of data and encounters a possible deadlock in read-write files.The life cycle of a Perl thread 1. Use the Create () method of the threads package: Use threads;Sub Say_hello
Perl Common function set 2
I. Process processing functions1. Process startup FunctionFunction Name evalCall the syntax eval_r (string)The description regards string as a Perl statement execution.After the command is correctly executed, the
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.