ITeye博客

perl tips for qw qq qx q

standalone · 2013-07-26 16:58 · perl · 编程语言 · Markdown

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.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。