Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
... also### Url has to start with if ($homeurl !~ m[^http:\/\/] or m[^https:\/\/]) { &inerror("Your home url has to start with http:// or https://"); }
how could I do something likeif(-d "directory") { }
*hint - im trying to see if the directory is CHMOD to 777if(-d -r -w -x -R -W -X "directory") { }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: or operator not working at checking directories
by epoptai (Curate) on Jun 30, 2002 at 04:27 UTC | |
by Aristotle (Chancellor) on Jun 30, 2002 at 10:42 UTC | |
|
Re: or operator not working at checking directories
by dws (Chancellor) on Jun 30, 2002 at 04:34 UTC |