in reply to Use Of Glob On File Extensions
Try my @files = glob "${dir}'*.pl'";
In yours, you would be getting any file with 'pl' anywhere in the name.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Use Of Glob On File Extensions
by NewToPerl777 (Novice) on Nov 18, 2014 at 22:02 UTC | |
by RonW (Parson) on Nov 18, 2014 at 22:27 UTC | |
by NewToPerl777 (Novice) on Nov 18, 2014 at 23:22 UTC |