This qw[this is the first line], produces a list of 4 words (hence qw ::= quote words), not a single line.
Try switching all your qw[]s to just q[]s, and see what changes.
In reply to Re: A question on array references.
by BrowserUk
in thread A question on array references.
by perl514
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |