About the origins and characteristics of Perl and Python
Perl is the abbreviation of practical extraction and report Language, created by Larry Wall in 1987, originally designed to facilitate the processing of reports on UNIX, and has become a fully
1. List and array. The list mentioned in this book is a data structure. array is the data type used to store the list in Perl. In most cases, these two words can be exchanged, meaning the same. Unlike C, the Perl array does not need to define the
What is Perl?
Perl is a free and open-source scripting language created by Larry Wall. This language is mainly intended for practical and rapid development,
Structured Programming is incompatible with the popular object-oriented programming.
One, List
A list is a sequence of values enclosed in parentheses that can be any value or NULL, such as: (1, 5.3, "Hello", 2), empty list: ().Note: A list containing only one numeric value (for example: (43.2)) is different from the value itself
Syntax
There are only two ways to create a 'quot.
Create reference
Create Rule 1If you add a '/' sign before a variable, you will get the 'quota' of the variable '.
$ Aref = // @ array; # $ Aref saves the 'quot' pointing to @ Array'$ Href =/% hash;
Author: gnuhpcSource: http://www.cnblogs.com/gnuhpc/
1. Differences and relationships between Shell and PerlPerl is full of 10 thousand gold oil. It has implemented the functions of various system commands from its own interior, which is much more
1. Simple Variables
==============
1. Integer$ X = 123456;Perl stores integer data in floating-point registers. In fact, integer variables are treated as floating-point numbers in Perl, but they are only a special column of floating-point data.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.