in reply to Use Of Glob On File Extensions
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Use Of Glob On File Extensions
by NewToPerl777 (Novice) on Nov 18, 2014 at 23:24 UTC |