The qw Operator
- You can specify a list by separating the elements only by whitespace using qw:
qw( salamanders gerbils bilge-rat )
- Acts like single-quotes
- Can also use qw!...!, qw{...}, etc.
| CPU: Perl, Fall 2005 | Perl, Week 2: Arrays, Hashes, Control Structures | #33 |
qw( salamanders gerbils bilge-rat )
| Copyright © 2005 Ian Langworth |