in reply to Perl List files in directory

I tend to favour using glob and a pattern. However, if it's not printing anything, means that the 'glob' hasn't found any matching files. Try running running an 'ls' or an 'echo' of that precise thing. Alternatively, try pruning down '*.*' - is it _really_ 'any file with a dot in it' that you want to find, or something more specific? Try your glob on "/opt/tmp/*" for example, and see what results you get.