Correct. If that 1 in 2128 possibility bothers you there's always Digest::SHA1 for 1 in 2160. Or keep a DBM mapping of "path" to hash and check for collisions when adding a new "path" entry.
Update: Left out the chance of collision for SHA1.
In reply to Re^3: Automatically distributing and finding files in subdirectories
by Fletch
in thread Automatically distributing and finding files in subdirectories
by myuserid7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |