a question about print in array

2005-05-24 Thread Frank
I met an interesting problem recently and am expecting your kind advice. my input file (for_test) is like as follows. I wish add a to the first line (before the word blue) and remove at the last line. # ---begining of the file, this line is not included in the file---# blue sky skirt

Re: a question about print in array

2005-05-24 Thread Jeff 'japhy' Pinyan
On May 24, Frank said: print OUTPUT @items\n; When you place an array inside quotes, it's the same as saying join($, @array) where $ is the list separator variable, whose default value is (a single space). Thus, if @array is (this, that, those), then @array is this that those.