http://www.perlmonks.org?node_id=1004001


in reply to extracting data from file

shivu126:

I'd suggest reading perldoc perlintro and perldoc perlfunc, especially the sections on string handling and regular expressions--split looks like a reasonable choice for this task.

...roboticus

When your only tool is a hammer, all problems look like your thumb.