From: Mathieu Bouchard Date: 2002-08-10T00:57:05+09:00 Subject: Re: Getting the file name from a File::Stat object? On Sat, 10 Aug 2002, GOTO Kentaro wrote: > You can redefine File.stat as follows, however, I don't recommend this > because File::stat is not API for a file but just for a inode. For > example, File::stat can represent a file which has been deleted already. Maybe you want to say: File::Stat is not an API for a filename but just for a file. A file and an inode, for most purposes, are the same thing. In particular, the inode is the entry point of the file, contains everything about it except filenames and actual file data, and is the sole source for pointers to the file data. Files are uniquely identified by their inode number. ________________________________________________________________ Mathieu Bouchard http://artengine.ca/matju