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
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. 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
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
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
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'
Incident
I rummaged over the books that spread the case. These books are all about programming and system management. After so many years of working as a programmer, there have been countless projects and software. Every new friend asks me this
Variable scope(a) package variables$x = 1Here, $x is a package variable. There are 2 important things to know about package variables:1) If there is no other declaration, the variable is the package variable;2) package variables are always
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
Die Function
18.4 handle errors
In many cases, system calls may fail. For example, you can try to open a non-existing file, delete a directory that still contains the file, or
Try to read files without read permission. In the previous example, we
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.