in reply to Read Directory
Hello Nansh,
As all the monks have already advised you, you need to use the $path when you are moving around. Alternatively you can use the chdir e.g. chdir('path/to/dir') or die "$!"; to switch to the directory remember to use it every time you move around.
Hope this helps.
|
|---|