Reference: q/string/ (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: pushChapter 5
Function Reference
Next: Reference: quotemeta
 

q/string/

q/string/
qq/string/
qx/string/
qw/strings/

Generalized forms of quoting. q// is equivalent to using single quotes (literal, no variable interpolation). qq// is equivalent to double quotes (literal, interpolated). qx// is equivalent to using backticks for commands (interpolated). And qw// is equivalent to splitting a single-quoted string on whitespace.


Previous: Reference: pushPerl in a NutshellNext: Reference: quotemeta
Reference: pushBook IndexReference: quotemeta

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.