Jan 162010
Playing with qw() function in Perl
Answer:
The qw (quote word) function is very useful to generate a list of words.
E.g.
my @names = ('peter', 'john', 'mark');
print @names;
my @names2 = qw(peter john mark);
print @names2;
As you can see above, the use of qw() made the code more readable.