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
I have been learning the perl language recently. The following describes how to use powerful grep functions in perl programming.
1. Grep FunctionGrep has two expressions:
1 grep BLOCK LIST2 grep EXPR, LIST
BLOCKIndicates a code block, usually
Reference
Common Perl Command Line options
Common unix Commands: perl implements sed awk tr nl
Perl, sed, awk, tr, grep, nl, and other common commandsSed
Task
Sed
Perl
Replace12WithTwelve
sed 's/12/twelve/g'
perl -pe '
Regular expressions are a major feature of the Perl language and a bit of a pain in the Perl program, but if you have a good grasp of him, you can easily use regular expressions to complete the task of string processing, of course, in the CGI
9 Regular Expressions in PerlThree forms of regular expressionsCommon patterns in regular expressions8 Principles of Regular expressionsRegular expressions are a major feature of the Perl language and a bit of a problem in Perl, but if you can
Thanks to aka and the author.
Regular Expressions in PerlThree forms of regular expressions
Common patterns in regular expressions
The 8 major principles of regular expressions
Regular expressions are a major feature of the Perl language and a
Grep function introduction-general Linux technology-Linux programming and kernel information. The following is a detailed description. Grep function Introduction
[Table = 98%] [tr] [td = 100%,] [/td] [/tr] [/table]
Grep Function
(If you are a
The online environment at work has a lot of Perl command-line commands like a sentence, and today concludes some of the things that Perl command line programming.
- e The string followed by the quotation marks is the command to execute:
Copy
Reference: http://shouce.jb51.net/perl5/Web site environment configuration: http://www.jb51.net/article/74005.htm
The basic syntax of Perl http://www.jb51.net/shouce/Perl.htm
Preface: What is Perl, and what is it used for? Perl's original designer'
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.