In unix I created a symbolic link
/data/rdmst11/abc.v -> /home/user/pqr/file_name123
Now to my perl script (test.pl) in directory /data/rdmst11/abc/mydir/ I provided ../../abc.v as the input.
When i use cwd::abs_path("../../abc.v") it gives me /home/user/pqr/file_name123 as the return value. That means it has resolved the symbolic link.
I want a way by which I get /data/rdmst11/abc.v as the output in which the symbolic link has not been resolved. I know i can easily write a small code snippet , but whether there exists some inbuilt perl API for this.
Regards