Don't answer!!! I found out myself. @list3 = (@list1,@list2) is the answer.
c r <[EMAIL PROTECTED]> wrote: Hi! How can I easily cancatenate two lists? i.e. @list1 = qw(1 2 3); @list2 = qw(4 5 6); ........do some thing easy......... result: @list3 = qw(1 2 3 4 5 6); I preferrably want to avoid the sequence: foreach element in list...shift...push to another list....and so on, because I have many different lists. Thanks!