in reply to A question on array references.

Lists are flattened in Perl. Therefore,
qw[this is the first line], qw[second one is here]
is exactly the same as
qw[this is the first line second one is here]
How can Perl get your first line?

You probably want this:

my @refarray = ([qw/this is the first line/], [qw/second one is here/], ); print "@{$refarray[0]}\n";

Updated.