Operators and Functions
-
Similar to JavaScript.
-
operations: actors on scalars, arrays, hashes.
-
functions
-
Simiar to functions in JavaScript
-
Perform more complicated processes.
-
print, for example, which sends specified data to the standard
output (web page), file, or e-mail.
-
context: how a function performs according to what it is acting
on.
-
Generally, operands are contained in parenthesis, just like JavaScript.
-
You can use built in functions, and you can create your own.
Result vs. Return
Home