Try my @files = glob "${dir}'*.pl'";
In yours, you would be getting any file with 'pl' anywhere in the name.
In reply to Re: Use Of Glob On File Extensions
by RonW
in thread Use Of Glob On File Extensions
by NewToPerl777
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |