---
title: "perl tips for qw qq qx q"
author: "standalone"
date: "2013-07-26T16:58:02Z"
tags: []
categories: ["编程语言"]
slug: "perl-tips-for-qw-qq-qx-q"
draft: false
lastmod: "2013-07-26T16:58:02Z"
id: 1914085
url: "https://standalone.iteye.com/blog/1914085"
---

q// is generally the same thing as using single quotes - meaning it doesn't interpolate values inside the delimiters.
qq// is the same as double quoting a string. It interpolates.
qw// return a list of white space delimited words. @q = qw/this is a test/ is functionally the same as @q = ('this', 'is', 'a', 'test')
qx// is the same thing as using the backtick operators.