in reply to Using perl for creating project folders
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using perl for creating project folders
by neniro (Priest) on Apr 04, 2004 at 17:36 UTC |