good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Reading file from other directoryby soonix (Canon) |
on Dec 31, 2019 at 16:13 UTC ( [id://11110802]=note: print w/replies, xml ) | Need Help?? |
Hello sara1612, perhaps it will help, if you understand what absolute and relative paths are. You are probably referring to the files simply by their name, which is (the most common form of) a "relative path". If you use "full" paths, you can access them regardless of your current working directory.
In Section
Seekers of Perl Wisdom
|
|