chmod 0777, $dump_dir is preferable to `chmod 777 $dump_dir`. No backticks needed; chmod is a Perl builtin.
(This is just a side-note. umask is the correct solution.)
In reply to Re^2: Permission problem in creating directory!
by chibiryuu
in thread Permission problem in creating directory!
by madtoperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |