Scalars

  1. Scalars intro
  2. Scalar values
  3. undef
  4. Numbers - integers, real or floating-point
  5. Strings
  6. Scalar variables (use my)
  7. Sigils and variables
  8. Common error messages
  9. Greeting with a name, Variable interpolation
  10. User Input
  11. chomp
  12. Numerical Operators
  13. Autoincrement
  14. String Operators
  15. String - Number conversion
  16. Conditional statements: if
  17. Syntax of if statement
  18. Comparison operators
  19. Compare values - examples
  20. undef, the initial value and defined
  21. Boolean expressions (logical operators)
  22. Boolean values: TRUE and FALSE
  23. Your Salary is in Danger - Short-Circuit
  24. Exercise: Rectangular
  25. Exercise: Rectangular prompt
  26. Exercise: Rectangular warn
  27. Exercise: Concatenation
  28. Exercises: Simple Calculator
  29. Solution: Rectangular
  30. Solution: Rectangular prompt
  31. Solution: Rectangular warn
  32. Solution: Concatenation
  33. Solution: Simple Calculator
  34. Solution: Simple Calculator (using eval)
  35. String functions (length, lc, uc, index)
  36. String functions (index, rindex)
  37. String functions (substr)
  38. Strings - Double quoted
  39. Strings - Single quoted
  40. Scope of variables
  41. Scope of variables - 2
  42. Scope of variables - 3
  43. Scope of variables - 4
  44. Scope of variables - 5
  45. Random numbers
  46. Here documents - double quotes
  47. Here documents - single quotes
  48. Exercise: Number Guessing game
  49. Solution: Number Guessing game