In Perl, single quotes do NOT interpolate variables. The print statement uses single quotes, so \$variable is treated literally as the string '\$variable', not replaced with '10'. Double quotes would interpolate, giving 'this is 10'. This is a fundamental distinction between single and double quoted strings.