I need to use the path contained in the DB_SCRIPT_PATH variable.
Tried using system, `` and exec also referred to earlier posts like
but could not get it working. :wall:
The path.xyz_pqr file works when called using ./path/of/path.xyz_pqr file on the command prompt but not through my perl script.
I am currently working on /usr/bin/sh shell. Please help m ein calling this path file in my Perl script and using the DB_SCRIPT_PATH variable in my Perl script for getting the path stored in it.
Thanks
If i need set the Env vars in the Perl script itself then what is the use of exporting it from the Path file? Need to get the values of exported variables into the Perl script.
I think my system calls are not working fine....need help with that...
Hey Klashxx...I fully agree with the concept that you have used here but i need to call an already existing file that exports these path variables. I just need to call that file.
I need help with calling this file path.xyz_pqr with variables getting exported in it.
Replies are highly appreciated.
Thanks.
I found the solution. I am calling my Perl script with a Shell script, that executes tha path file. Later i used ENV to call the paths which are exported in the Path file.
Thanks for replying.