Learning Perl 4ed Reading Notes
Chapter2 scalar data1. Numbers. All data (INT, float) is of the double type in Perl. Of course, sometimes Perl also uses integer to represent int internally, because this can improve the running speed of the program,
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
'), 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,
Matches: m/;/ (can also be shortened to/;/, omit m)Replacement: s/;/;/Conversion: tr/;/;/These three forms are generally used in conjunction with =~ or!~ (where "=~" means matching, read as does in the entire statement, "!~" for mismatches, read as
24 hours of Perl programming course questionsI. multiple choice questions1. Which of the following strings is incorrectly defined ()(1) 'Thank you'(2 )""(3) "A" friend "of yours"(4) "A/" friend/"of yours"2. Which of the following statements is
As we all know, Perl is very powerful in processing strings, and Perl (Practical Extraction and Reporting Language) is also very powerful in processing formats. Here we start to learn some Perl formats and string processing.
Familiar with the three
Regular Expressions (Regular expression, abbreviated as Regexp,regex or REGXP), also known as regular expressions, regular expressions, or regular or normalized representations or formal representations, refer to a A single string that describes or
Regular Expression (Regular Expression, abbreviated as regexp, regex or regxp), also known as Regular Expression, Regular Expression or Regular Expression, or Regular Expression, it refers to a single string used to describe or match a series of
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.