in reply to Re: glob() and dot files
in thread glob() and dot files
This prints all simple files, but skips directories.
my @files = glob ('*.*');
No, it prints any file or directory names that have a dot in them. It's a very old DOS convention that files had extensions and directories didn't, but nowadays that's not true anymore. You'd need grep {!-d} glob('*') to exclude directories.
In Section
Seekers of Perl Wisdom