Hi Guys!

I am newbie in Perl.

I have problem in reading a file and change it to get some specific  output. 
For 
example : I want to read a file : filename.txt which contain  2 lines:
Data A 1 2 3 4 5  
Data B 6 7 8 9 10 
the name of the data and the values are tab separated.  my wish is to change it 
into :Data A = (1,2,3,4,5); Data B = (6,7,8,9,10); 

Thanks in advanced for your kindly help!

Regards,
-student-


      

Reply via email to