Perl functions references-qq Function - Perl Scripting

What is qq function?

Description

This function can be used in place 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.

Syntax

Following is the simple syntax for this function −

Return Value

This function returns a double-quoted string.

Example

Following is the example code showing its basic usage −
When above code is executed, it produces the following result −

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Perl Scripting Topics