Multiple choice technology programming languages

Assume that $var has the value hello . What is the value of the following sting?qq(It’s time to say $var);

  1. It’s time to say $var

  2. It’s time to say hello

  3. Both

  4. None

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Perl, qq() operates like double quotes, so the variable $var is interpolated and replaced with its value "hello". Single quotes would not perform this interpolation.