These are the file test operators (which are different from the command line switches that look the same). They're documented in perlfunc.
In short, -d tests if its argument is a directory, and -e tests if its argument exists.
In your code, it looks like the if() ensures that there is a true value for those hash keys and that the file or directory does not already exist. The next part probably creates them.
In reply to Re: "-e" and "-d" switches
by brian_d_foy
in thread "-e" and "-d" switches
by mosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |