This function can be used instead of double quotes. This is not really a function, more like an operator, but you'll probably look here if you see it in another programmer's program without remembering what it is. You can actually use any set of delimiters, not just the parentheses.
Following is the simple syntax for this function −
qq ( string )
This function returns a double-quoted string.
Following is the example code showing its basic usage −
#!/usr/bin/perl -w $var = 10; print(qq(This is a single quoted string with interpolation, $var));
When above code is executed, it produces the following result −
This is a single quoted string with interpolation, 10