Create the directory "subfolder" by using mkdir
Check mkdir() for success; if successful, prepend "subfolder" to the filepath to be written; e.g. using File::Spec's catfile
In reply to Re: Simple/Quick question about opening creating a file using perl
by linuxer
in thread Simple/Quick question about opening creating a file using perl
by jdlev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |