Re: cancatenate lists

2004-10-22 Thread Owen
On Fri, 22 Oct 2004 12:40:11 +0200 (CEST) c r <[EMAIL PROTECTED]> wrote: > How can I easily cancatenate two lists? > > i.e. > > @list1 = qw(1 2 3); > > @list2 = qw(4 5 6); untested push(@list1,@list2); Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: cancatenate lists

2004-10-22 Thread c r
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

Re: cancatenate

2001-12-23 Thread Steve Maroney
1. Use the proper file system/directory functions to put the file names into an array. 2, Step through the array of file names and use regular expressions to test if the file name matches your criteria. 3. if test is true, open some file handles and write the file at the end of your ne

Re: cancatenate

2001-12-23 Thread Peter Cornelius
cat phr*.txt >> newfile RNOORY wrote: > Hello, > I would like to concatenate several text files that all begin phr*.txt to create one >text file. > > Thanks > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]