I have a line of code in my module that looks exactly like this:
make_path($root_dir);
Unfortunately, it doesn't create the desired directory (I have checked, and do have permissions there).
However, if I change it to the following:
make_path($root_dir, {});
It works fine. A couple lines earlier, I'm getting the same odd behaviour with make_path($root_dir);
vs make_path($root_dir, {});
. Any ideas why this could be?
I'm using perl 5, version 16, and File:Path version 2.09.