The answer is quite simple: qw forms a list, not an array. That list can be assigned to an array, of course.
@test = qw/words go here/; is exactly equivlent to @test = ('words', 'go', 'here');. As another poster mentioned, use takes a list argument, which is passed to the import method of the module being used.
In reply to Re: qw and its lovely magic
by theorbtwo
in thread qw and its lovely magic
by Grygonos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |