Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Detecting whether two pathes refer to the same file

by rovf (Priest)
on Sep 10, 2010 at 10:42 UTC ( [id://859621]=note: print w/replies, xml ) Need Help??


in reply to Re: Detecting whether two pathes refer to the same file
in thread Detecting whether two pathes refer to the same file

A quick look on CPAN turns up File::Same and File::is
File::Same doesn't check, whether two pathes name the same file, but whether two pathes point to (possibly different) files, having the same content.

File::is tries to verify the identity of the files, but only by inode number, which is (as we have learned from ambrus is not even correct on Unix, and does not work at all on Windows :-(

-- 
Ronald Fischer <ynnor@mm.st>

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://859621]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-24 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found