The quote words operator is just a typing convenience to let you omit the commas and quoting. Instead of typing:
@array = ( "dog", "cat", "bird" );
You type:
@array = qw( dog cat bird );
The qw() will break up the thing inside it and give you back a list of the things between the whitespace (and because of that, you can't use qw() with values that have whitespace in them.
That's it.
In reply to Re: qw operator
by brian_d_foy
in thread qw operator
by wannabeboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |