Scalars
- Scalars intro
- Scalar values
- undef
- Numbers - integers, real or floating-point
- Strings
- Scalar variables (use my)
- Sigils and variables
- Common error messages
- Greeting with a name, Variable interpolation
- User Input
- chomp
- Numerical Operators
- Autoincrement
- String Operators
- String - Number conversion
- Conditional statements: if
- Syntax of if statement
- Comparison operators
- Compare values - examples
- undef, the initial value and defined
- Boolean expressions (logical operators)
- Boolean values: TRUE and FALSE
- Your Salary is in Danger - Short-Circuit
- Exercise: Rectangular
- Exercise: Rectangular prompt
- Exercise: Rectangular warn
- Exercise: Concatenation
- Exercises: Simple Calculator
- Solution: Rectangular
- Solution: Rectangular prompt
- Solution: Rectangular warn
- Solution: Concatenation
- Solution: Simple Calculator
- Solution: Simple Calculator (using eval)
- String functions (length, lc, uc, index)
- String functions (index, rindex)
- String functions (substr)
- Strings - Double quoted
- Strings - Single quoted
- Scope of variables
- Scope of variables - 2
- Scope of variables - 3
- Scope of variables - 4
- Scope of variables - 5
- Random numbers
- Here documents - double quotes
- Here documents - single quotes
- Exercise: Number Guessing game
- Solution: Number Guessing game