That is quite easy:
More info about file tests like -d can be found in the perlfunc man page around line 147, at the beginning of the alphabetical listing of the functionsif (-d $filename) { ... }
In reply to Re: File creation script
by jethro
in thread File creation script
by ibaboom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |