Zet - What does qw do in perl?
What does qw do in perl?
qw stands for “quoted word” and is used to create an array of strings. It is a shortcut for creating lists of words, allowing you to quickly create a list without having to type out each individual element. For example, the following code creates an array with five elements: @array = qw(red green blue yellow orange);
#perl