No, glob can return . and .. and nothing in the documentation seems to promise otherwise (I searched glob, perlop, and File::Glob). However, glob("*") will not return any dot-files, including the directories, because it works similarly to shell wildcards. Here's an example of where it does, though:
$ perl -le'$,=" ";print glob(".*")' . .. .bash_history .bash_profile # and so on
In reply to Re^4: No. files in folder
by kaif
in thread No. files in folder
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |