There's more than one way to do things | |
PerlMonks |
Re: Read Directoryby thanos1983 (Parson) |
on May 26, 2017 at 10:47 UTC ( [id://1191278]=note: print w/replies, xml ) | Need Help?? |
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.
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Seekers of Perl Wisdom
|
|