Hello Monks
What is the best way to read a properties file using perl program. suppose my properties file contains the following
source_dir="C:\\Testing\\Source"
target_dir="C:\\Testing\\Target"
pattern="*.txt *.dat *.doc"
pattern is an array..perl script should read this properties file and get the details such as source_dir into a string target_dir into a string and pattern into an array so that for each pattern files will be checked and processed
Note: properties file i mean to say basically a text file with that format...so that the script will be independentand if i change the target directory i can do it in text file and my script won't be touched it should work with that change and if i want to add say *.xlsi can add it in text file and no need of changing the scripthope am clear
Thanks in advance for suggestions and sample code
Sridhar