The most likely reason is that $ARGV[0] contains whitespace, but you haven't told us so.
If that really is the case, I recommend using File::Glob::bsd_glob which has far saner semantics than glob.
In reply to Re: run a perl script for all files in a folder
by Corion
in thread run a perl script for all files in a folder
by lakssreedhar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |