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


in reply to extracting specific information from a txt file

You'll find people are a lot more willing to help you if you show a few things:

  1. Code you have got so far
  2. (an example of the) input you used
  3. Error messages you got (Make sure you are using strict and warnings and if you are a beginner diagnostics can be helpful)
  4. Output you got (or output you want)
These things will show you have at least made some effort, and so people will be much more likely to make some effort to help you. All of this is explained in How do I post a question effectively?.

Other than that, there is a lot of info on the web, so make sure you have thouroughly searched (e.g. perlio for reading files, perlre for searching the information) etc...

Updated: Updated pointer to a more positive place (Thanks to wfsp)

Just a something something...
  • Comment on Re: extracting specific information from a txt file