Read File::Glob for finding out how you can find out what error glob() encounters:
... if (File::Glob::GLOB_ERROR()) { # an error occurred print "Glob error: $!"; }
Also, are you sure that /someDir/someFile exists? What is the output of ls /someDir/someFile on the command line?
In reply to Re: Can I get help with Perl glob for filtering a directory
by Corion
in thread Can I get help with Perl glob for filtering a directory
by misterperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |