Lesson2

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Spring, 2010 Precedence Level 22 21 20 Operator (), , {} -> ++, -** !, ~, +,+, -,\ =~, !~ *, /, % x +, -,. <<,>> Description Function Calls, Parentheses, Array subscripts Infix dereference Operator Auto increment, Auto decrement Exponentiation Logical not, bitwise not, unary plus, unary minus, reference Match, Not match Multiply, Divide, Modulus, Repetition Add, Subtract, String concatenation Bitwise left shift, Bitwise right shift File test Operators None Spring, 2010 Associativity Left to right Left to right Perl 入门和提高 Lesson 2 19 18 17 16 Right to left Right to left Left to right Left to right Left to right Left to right None None None Left to right Left to right 5 周晓方 [email protected] 15 14 13 12 11 10 9 1 -f –e 等 < <= > >= ge 等 Relational Operators == != eq 等 & |, ^ Equality Operators Bitwise and Bitwise or, Bitwise xor How to get help? 获得帮助 • All the viewgraphs and books • On-line documents (Windows) – C:/perl/html/index.htm – Click perlfunc, perlfaq, perlxs, …… Spring, 2010 8 7 6 5 4 3 2 1 0 Precedence (cont.) && || .. ?: Logical and Logical or Range Operator Ternary or conditional Operator Assignment Operators Comma Operator Low precedence logical Operators Low precedence logical Operators Low precedence logical Operators None Spring, 2010 Left to right Left to right Right to left Right to left Left to right Left to right Left to right Left to right = += -= 等 , not and or, xor • perldoc command – – – – – perldoc -f print perldoc -m benchmark perldoc perldoc perldoc perlfunc perldoc perlop...
View Full Document

This note was uploaded on 04/04/2010 for the course EE INFO130098 taught by Professor Zhou during the Spring '10 term at Fudan University.

Ask a homework question - tutors are online