I have a file which is basically .cshrc
It contains lines such as:
setenv <variable> <value>...
set path=(<dir> <dir>)
source <another_file>
I can run this file using source from the shell.
But I cannot do it from perl.. except from creating another file which is perl-executable using do, or parsing the file and using ENV\{\}, which I don't want to do.
I just simple want to source this .cshrc in my Perl script
I tried so many methods ... Nothing is working
Thanks
Kshitij