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,
Differences from Perl PCRE function PCRE Patterns PHP manual
Schema Syntax
(No version information available, might only being in SVN)
Schema syntax-syntax explanation for Perl compatible regular expressions
The PCRE library is a set of functions
Preface:
Definition:The concept of singular and plural: Scalar is a single thing. perl uses scalar (the simplest data type in perl) to call a single thing. For most scalar values, it is either a number or a string composed of characters (perl does
Perl Overview
Perl was first developed by Larry Wall and is a "glue" language, for example, converting the output of the previous program into the input of the next program. The first version of Perl was released in December 18, 1987 and has been
Most statement expressions in the Perl language are followed by a semicolon, separating the different Perl statements.The Perl interpreter can compile and run these two actions at a time. Perl uses a pair of anti-quotes "'" to indicate running
Chapter 2 scalar data
The scalar expression in Perl has a large range, including numbers and characters/strings. And numbers are not similar to floating point numbers in C, single precision, double precision, integer..., as long as the number is a
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
1 All numbers in Perl have the same internal format, only double-precision floating-point numbers (there is no integer value inside perl).
2 Perl allows the use of underscores to delimit longer integers, such as 612980400283768 and 612_980_400_283_76
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.