http://www.perlmonks.org?node_id=1012818


in reply to path name & file name

pathname would be the path to where the file resides, while filename would be the name of the file itself.
Just as the name implies.