Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
glob returns warning message in file name #823
first of all:
i have not actually verified this bug with perl v5.004.04.
i have verified it on perl v5.005.02 and v5.005.03.
SunOS 5.6, i believe.
"perl -v" on the machine i was using reports:
here is test program:
my $directory = $ARGV;
print "directory = $directory\n";
print "executing chdir $directory...\n";
print "executing glob...\n";
for my $file (@files)
if i run the program (called tmp.pl) like this:
perl tmp.pl SOME_DIRECTORY_NAME SOME_FILE_SUFFIX
where i do not have read access to all directories above
To be clear: It does *not* generate an error or warning.
Rather, the *text* of that warning message is *part* of the first
This seems pretty clearly wrong, ie a bug. It certainly "complicates"
Hope this helps!