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+/, $_))); }

2. Then i remove the \n between the strings:
foreach (@temp) { push(@temp2, (split(/\n/, $-))); }

I am wondering - is there a way to do it in one turn? Must be, no?

Daniel.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to