in reply to How do i extract 3 variables from each line in a file, and print them to a new file

Here is a solution without using any regular expressions:
$_="22 34808 934 20987129 83454 34643 12ms:34ms:56ms"; @f = unpack("A2A2A3A2A3A2",reverse $_); print join(',',map{join'',scalar reverse}@f[5,3,1]);

Update: didn't read the problem fully. This is an incomplete solution.
  • Comment on Re: How do i extract 3 variables from each line in a file, and print them to a new file
  • Download Code