Re: Another pattern question

2001-07-26 Thread Abdulaziz Ghuloum
Hello, I think what you want to do is first remove the newline character _then_ split the list. ie. open F, " my @list; while(){ chomp; # remove the \n push @list, split/\t+/; # add items to @list } Hope this helps,,, Aziz,,, In article <000901c115e3$31a71ec0$[EMAIL PROTECTED]>, "Dani

Re: Another pattern question

2001-07-26 Thread Paul
--- Daniel Mester <[EMAIL PROTECTED]> wrote: > Hi again, > for example i have a file like : > zxcv zxcv > qwer asdf > bnmm sdfgy > > I need to split the sentences into a variables in list. > So i do it in 2 stages: > 1. Remove the \t form each pair: > foreach (@list) { push(@temp, (split(/\t