Did you test it on a unix box too?
It dies on line 19: Can't chdir to $project: Permission denied.
- for some strange reason the directory has 1407 for permissions, not 0775 as you would have wanted it (octals misunderstood and got converted to octals again?).
In sub validate the s/\W//g; does all you need, you don't have to care about blanks when you take away all non-word-characters anyway.
Cheers, Sören
In reply to Re: Using perl for creating project folders
by Happy-the-monk
in thread Using perl for creating project folders
by neniro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |