- 论坛徽章:
- 3
|
本帖最后由 minirain 于 2015-07-11 17:41 编辑
倡仪一下,大家一起来把网站如:http:\/\/perldoc.perl.org/perlre.html、http:\/\/perldoc\.perl\.org/perlop.html相关文档翻译一下!!!
便于初学者或大佬们查询用,可以吗?- perlop perl运算符
- 目录
- NAME 名称
- DESCRIPTION perl运算符描述
- Operator Precedence and Associativity 优先操作符及关联操作符
- Terms and List Operators (Leftward) 词法及列表操作 (左侧)
- The Arrow Operator 箭头操作符
- Auto-increment and Auto-decrement 自动增与自动减运算
- Exponentiation 幂指数运算
- Symbolic Unary Operators 一元运算
- Binding Operators 组合运算
- Multiplicative Operators 乘法运算
- Additive Operators 加法运算
- Shift Operators 移位操作
- Named Unary Operators 已命名一元操作符
- Relational Operators 关系运算符
- Equality Operators 等号运算符
- ?Smartmatch Operator 智能匹配操作
- Bitwise And 位与
- Bitwise Or and Exclusive Or 或与异或
- C-style Logical And C语言风格逻辑与
- C-style Logical Or C语言风格逻辑或
- Logical Defined-Or
- Range Operators 范围操作(..)
- Conditional Operator 条件运算
- Assignment Operators 赋值操作
- Comma Operator 逗号运算
- List Operators (Rightward) 列表运算(右侧)
- Logical Not 逻辑非
- Logical And 逻辑与
- Logical or and Exclusive Or 逻辑或 和 逻辑异或
- C Operators Missing From Perl perl中没有而c语言中有的运算符
- Quote and Quote-like Operators 引号及类引号运算
- Regexp Quote-Like Operators 正则表达式类引号运算
- Quote-Like Operators 类引号操作
- Gory details of parsing quoted constructs
- ?I/O Operators
- ?Constant Folding
- ?No-ops
- ?Bitwise String Operators
- Integer Arithmetic 整数运算
- Floating-point Arithmetic 浮点运算
- Bigger Numbers 大数字处理(超过标量存储范围)
- NAME (名称:)
- perlop - Perl operators and precedence perl运算及优先级
- DESCRIPTION(概述)
- In Perl, the operator determines what operation is performed, independent of the type of the operands. For example $x + $y is always a numeric addition, and if $x or $y do not contain numbers, an attempt is made to convert them to numbers first.
- 在perl程序中,操作符决定完成什么操作,不受操作数类型所支配(独立于操作数类型的)。例如$x+$y总是作数字加法运算,$x、$y任何一个如果是非数值,[perl编译]试着首先将非数值型转换成数值型。
- This is in contrast to many other dynamic languages, where the operation is determined by the type of the first argument. It also means that Perl has two versions of some operators, one for numeric and one for string comparison. For example $x == $y compares two numbers for equality, and $x eq $y compares two strings.
- 这就与其它动态语言运算时是靠第一个数值类型决定什么操作形成对照,也就是说perl中有两种比较运算操作:数值运算、字符运算。例如$x == $y是比较两个数值是否相等,然而$x eq $y是比较两字符串是否相等
复制代码 |
|