Perl Programming
String Context
  • String operations apply a string context
    • Period (.) performs string concatenation
    • Double quotes ("") interpolate variable in string context
  • Undefined values are treated as empty strings
  • Scalars are evaluated as strings
    • Numbers are converted to their string value automatically
    • Special formatting can be done with sprintf
  • Arrays in double quotes are evaluated as strings containing their items separated by spaces