in reply to Can I get help with Perl glob for filtering a directory
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?
|
|---|