![]() |
Perl Operator Types![]() ![]() ![]() ![]() ![]()
Perl supports many types of operators. The table shows all the operator types in the Perl language. Arithmetic - These operators mirror those you learned in grade school. Addition, Subtraction, and Multiplication are the bread and butter of most mathematical statements. Assignment - These operators are used to assign a value to a variable. Algebra uses assignment operators. For example, in the statement X = 6, the equal sign is the assignment operator. Binding - These operators are used during strong comparisons. Bitwise - These operators affect the individual bits that make up a value. Each character binary notation represents a bit, which the smallest piece of a computememory that you can modify. Comma - The comma operator has two functions. it serves to separate array or list elements and it serves to separate expressions. File Test - These operators are used to test for various conditions associated with files. You car test for file existence, file type, and free access rights among other things. List - List operators are funny things in Perl. They resemble function calls in other languages. Logical - These operators implement Boolean or true/ false logic. Numeric Relational - These operators allow you to test the Relational relationship of one numeric variable to another. Postfix - A member of this group of opera-tors-(), [], {} appears at the end of the affected objects. Range - The range operator is used to create a range of elements in arrays. It can also be used in a scalar context. Reference - The reference operators are used to manipulate variables. String - The string concatenation operator is used to join two strings together. The string repetition operator is used to repeat a string. String Relational - These operators allow you to test the relationship of one string variable to another. Ternary - The ternary operator is used to choose between two choices based on a given condition.
|
|
PERL Perl Program Data Types Types of Variables Operator Types Functions String Functions Array Functions Expressions Statement Blocks The if Statement Unless Statement While Loops Until Loop For Loop Foreach Loop Jump Keywords Subroutines Perl References Die Function Exit Function Localtime Function Standard Files File Test Operators File Functions Opening Files Reading into Hash Printing Revisited Globbing Splitting a Record into Fields Perl's Special Variables Regular Expression Simple True-False Searches Inexact Matches in Regular Expressions Matching Any Character Characters with Class Special Locations Quantifiers Greedy Matching Modifiers Localtime Function Subsituations Letter for Letter Translations Generating A Simple Report Defining a Report Template Specifying the Picture Line Specifying the Argument Line Adding a Header Writing the ReportDomain Names Home Importance of a domain name How does a web domain name work? Domain name syntax Choosing a domain name Domain Transfer Domain Parking IP AddressWeb Design HTML DHTML XML JAVASCRIPT VBSCRIPT PHOTOSHOPWeb Hosting Web Server Web Server Software Microsoft Internet Information Server Web hosting ISP Shared web hosting Virtual web hosting Dedicated web hosting Web hosting colocation Managed web hostingE Commerce Principles of E-Commerce E-Banking Electronic Payment System E-Security Credit Cards Smart Cards
The Mailbox POP Server SMTP Server IMAP Protocol |
| Home | Web Hosting | Web Design | Sitemap |
| Copyright (C) 2007. Web Domain design hosting. All rights reserved. |