my $a = q#${system('rm -rf /')}#; print "The command in \$a is $a\n"; #### The command in $a is ${system('rm -rf /')} #### my $b = "The command in \$a is $a\n";