How to read particular value from file?

In reply to dave_59:

Or can u point me to somewhere I can learn more about file operations like $fopen ,$fscanf etc ?