Are you checking the return code? If the call is failing, then $! should give some error text to identify the cause.
The likelyhood is that when your script is run via the webserver, it is running under a user account (nobody or ISUR_your_machine or similar) that is specifically disabled from creating files outside of cgi-bin.
In reply to Re: Directory creation failing
by BrowserUk
in thread Directory creation failing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |