I what way does it "not work as intended"?
Why the single quotes in the string you pass to glob? I'd understand what is going on if there might be spaces in your path to be globed and you had my @files = glob "'${dir}*pl*'";, but the quotes around *pl* don't make sense to me.
In reply to Re: Use Of Glob On File Extensions
by GrandFather
in thread Use Of Glob On File Extensions
by NewToPerl777
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |