Here's how you can do it (this is just one way): #!/usr/bin/perl
@x = ('a','b'); @y = ('c','d'); @z = ('e','f'); @xyz = (@x,@y,@z); print @xyz; Output is : abcdef Got it!!! Aman ----- Original Message ----- From: "A Taylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 21, 2002 9:05 AM Subject: simple array question > Hi all, > I have a very simple and probably stupid question to ask. > If I have a set of arrays, @data1, @data2, @data3 etc, can I join them all > together to make 1 main array ie: @main = @data1 + @data2 + @data3; ???? > > Thanks in advance > > Anadi -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]