Cool.
Unfortunately, this module did not exist back when I first made this little piece of code. I've been using this quick one-liner for so long it just trips off my fingertips when I need it.
Interestingly enough, that module also does a check for metacharacters before passing to glob. I believe others pointed out that I didn't need to do this.<grin/>
G. Wade
|