Multiple choice perl

In Perl, the following will result in which of the following, if the prize is currently "5 dollars" print 'You won $prize';

  1. You won $5.00
  2. You won 5 dollars

  3. You won $prize
  4. You won $5
Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In Perl, single quotes do NOT interpolate variables - the string is taken literally. Double quotes would replace \$prize with its value, but single quotes print '\$prize' as-is. This is a key difference between single and double quoted strings in Perl.