On 09 Aug 2000 09:40:29 +0100, Piers Cawley wrote:

>> Now, what you can do, is stat() on the filehandle, and pick out the
>> device ID and the inode number. That combination is unique for each
>> file.
>
>And what happens when its a tied filehandle? Or are we going to
>require that the tying class provides a STRINGIFY method as well?

Required? No. The default for stringify is the familiar
"Foo::Bar=HASH(0x8a6f088)" format. If you're too lazy to implement it,
you get the same as you have now. It will be used mostly for debugging
purposes, anyway.

If in some way open() is used internally with a real file handle, the
data coming from there could be incorporated in your "stringified"
output.

-- 
        Bart.

Reply via email to