The only thing I haven't seen mentioned, which it looks like you need, is to check that the directory exists. Presumably your code is not just supposed to work for Laura, so unless you are anticipating all the required directory and subdirectory names, you will need to create them on the fly.
Small snippet:
print "Directory $dirname does".((-d $dirname)?" ":" not ")."exist.\n";
<a href="http://www.graq.co.uk">Graq</a>
In reply to Re: Using Variables in Path Names
by graq
in thread Using Variables in Path Names
by lfindle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |