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
'), System, and exec in Perl
In Perl, the check mark (''), system, and exec are used to execute the command order. This article will show us how they are used, approached, and differentiated.
I. utilization methods
1. check mark ('')
First of all,
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
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
Reproduced from others ' blogs, not originalA thorough understanding of the Exec and match methods in JavaScriptBefore reading this article, please read the following question:Title 17:read The following JavaScript code:var sometext= "web2.0. net2.0"
Before reading this article, please read the following question: var sometext= "web2.0. net2.0"; var pattern=/(\w+) (\d) \. (\d)/g;var outcome_exec=pattern.exec (sometext); var outcome_matc=sometext.match (pattern); What is outcome_exec[1] and
Thoroughly understand the exec and match methods in Javascript
Before reading this article, read the following question:
Question 17: Read the following JavaScript code:
VaR sometext = "Web2.0. net2.0 ";VaR pattern =/(\ W +) (\ D) \. (\
Before reading this article, please read the following question:Title 17:read The following JavaScript code:var sometext= "web2.0. net2.0";var pattern=/(\w+) (\d) \. (\d)/g;var outcome_exec=pattern.exec (Sometext);var outcome_matc=sometext.match
1. linux generally comes with perlYou can run the program in:/usr/bin/perl
2. perl Testing Program
Copy codeThe Code is as follows :#! /Usr/bin/perl-w
Use warnings;
Print "Hello, Perl works! ";
Name it test. pl.
Locate the directory in the terminal.
Before reading this article, read the following question:
Question 17: Read the following JavaScript code:
VaR sometext = "Web2.0. net2.0 ";VaR pattern =/(\ W +) (\ D) \. (\ D)/g;VaR outcome_exec=pattern.exe C (sometext );VaR outcome_matc =
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.