quote qww

Documentation for quote qww assembled from the following types:

language documentation Quoting constructs

From Quoting constructs

(Quoting constructs) quote qww

The qw form of word quoting will treat quote characters literally, leaving them in the resulting words:

say qw{"a b" c}.perl# OUTPUT: «("\"a", "b\"", "c")␤» 

Thus, if you wish to preserve quoted sub-strings as single items in the resulting words you need to use the qww variant:

say qww{"a b" c}.perl# OUTPUT: «("a b", "c")␤»