I have started learning Perl scripting today because of my project.
Let me first define you my project so that you have clear image what I wanted to do .
I am scripting for the test run of applications. When my Script will execute it will take 3 arguments from user and then it will source the *.ini file for the application . after sourcing that file it this script will execute another perl script from a different location and this second perl script will give me two text files in (lets say) folder1. and files will be test.date1.txt and test.date11.txt after then my script will call another perl script from different location for the same application and this third perl script will also give me two different text files(test.date2.txt and test.date22.txt) in different folders. Now I want to rename the files in both 1st and 2nd folder 1st run results 2nd run results resoectively and I want to compare what are the differences.
Till Now I have assigned my input arguments and if user don't give the arguments then what error to show to the user , and also I have read about the comparison on online tutorial and made a little comparison code like this :
use Text::Diff;
my $diffs = diff 'test.date1.csv' => 'test.date2.csv';
print $diffs;
I am stuck at how to source my *.ini file , and then run my other perl scripts ? Can anyone help me with this. It would be a great help for me .
Note: I started scripting today, so sorry if I made a silly mistake any where defining the project