I am using the directory structure which looks like :-
proto08/qa08/short/drc/cases/hello/win
I am running a perl file which is stored in “short” dir.
The perl line is parsing a file which is on “win” dir.
The file which is being parsed uses a line :-
source ../../master.txt.
I found the file name using a regex which is “../../master.txt”
and i want to parse “../../master.txt” also.
How can i do this?
Any suggestions?
I think you want
dirnameIf you want
realpathbehaviour as well, look at theCwdcore module