in reply to Read the values from a file

THat looks sufficiently like a windows .ini style file that you should be able to use the module Config::IniFiles - give it a go.

/J\