if ( -d "$stream.${version}_Dir_Name" ) { ... }
If you have more than one possible directory that you are trying to match then you could look at opendir / readdir or, perhaps, glob and filter out what you want with grep.
I hope this is of use.
Cheers,
JohnGG
In reply to Re: Check if dir exist using regexp
by johngg
in thread Check if dir exist using regexp
by Noame
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |