It's not clear to me from what you have said why you don't just let the shell handle the expansion.
In reply to Re: perl glob by hippo in thread perl glob by Anonymous Monk