Alibabacloud.com offers a wide variety of articles about perl conditional operator, easily find your perl conditional operator information here online.
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
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. Numeric Operators: + (Plus),-(minus), * (multiplication),/(Division), ** (multiplication party/power), % (remainder );These operators mix integers, floating-point numbers, and real numbers. The calculation results are in the correct numeric
Arithmetic operators: + (plus),-(minus), * (multiply),/(except), * * (Power),% (take more),-(Monocular negative)
(1) The cardinality of the power can not be negative, such as ( -5) * * 2.5 # error;
(2) The result of power can not exceed the limit of
One, arithmetic operators* *: is a power result cannot exceed a range when the exponent is a decimal, the base cannot be a negative number%: The number of operands on both sides of the remainder is an integer, if not to intercept, to remove all the
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'
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
A Perl script was written a few days ago :? Operator encountered a very strange problem
$ Data-> {$ id}-> {'Total '}?$ Data-> {$ id}-> {'ratio '} = sprintf ("%. 2f % ", 100 * $ data-> {$ id}-> {'succ'}/$ data-> {$ id}-> {'Total '}):$ Data-> {$ id}->
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.