I often was confused by that as well. I would mix up File::Basename, File::stat, and File::Spec, there should probably be a man/perldoc page that lists all of the modules that come packaged with perl, along with a one line desc of their task. Much like a info coreutils on debian (which I still find extremly usefull.)