in reply to extracting data from file

Whilst the answers using split are reasonable solutions, your file is really a CSV (Comma Separated Value) file, so the "professional" answer is to use a module such as Text::CSV to do the work for you.
A Monk aims to give answers to those who have none, and to learn from those who know more.