qw stands for "quote words". So qw(name1, name2, name3) is equivalent to ('name1,', 'name2,', 'name3')
In reply to Re: qw() problem by Skeeve in thread qw() problem by jeanluca