in reply to qw and its lovely magic

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.


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).