-d doesn't work that way. You're either going to have to manually grobble through the list of files in the containing directory (using opendir and readdir), or possibly use glob instead of a regular expression.
(And please use proper <code></code> tags and lose the angry fruit salad coloring.)
Update: And the angry fruit salad coloring tags were removed and there was much rejoicing. Just remember, the retinas you save could be your own . . .
We're looking for a Perl and Database Developer for Corporate Investments Group.
In reply to Re: Check if dir exist using regexp
by Fletch
in thread Check if dir exist using regexp
by Noame
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |