q operator in Perl can be used in place of single quotes. It uses a set of parentheses to surround the string.
Syntax: q (string)
Returns: a single-quoted string.
Note: Any set of delimiters can be used, not just the parentheses.
Geeks For Geeks
Welcome to GFG, $var
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.