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
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 '
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
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,
There are several prompt variables to mention when the color of the terminal is mentioned under the shell:
PS1: The default prompt, that is, after the remote boarding system, open the terminal, we see the familiar prompt every day;
[Root@vps ~]
! Preview· the development trend of language must be the combination of static and dynamic, flexible and economic· Perl is obscure, Python is elegant and clear, Ruby is smart, and PHP is simple· Perhaps elegance comes from the attention to detail
Shell is the basic operation of Linux, it must be learned. To learn a shell is to learn Linux commands.
Perl has a strong regular expression support, very tough for text processing, playing Linux has to learn.
python acts as an object-oriented,
The development trend of the language must be the combination of dynamic and static data, the combination of strong and soft Perl, the concise and obscure Python, the elegant and clear Ruby, the concise and simple PHP, or the elegance of PHP, the
Original: http://levi.cg.am /? Cat= 246
! Preview
· The development trend of language must be dynamic and dynamic combination and flexible
· Perl is concise and obscure, python is elegant and clear, Ruby is exquisite and smart, and PHP is concise
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.