Also see the built-in glob, but this can have issues with whitespace, so File::Glob is usually safer.
Note that the glob construct *.* does not necessarily get all the files in the current directory, it only gets those whose names contain a dot. That will not include many files taken from UNIX, or most sub-directories (it is rare to see a dot in a directory name).