P is for Practical | |
PerlMonks |
Re^3: Automatically distributing and finding files in subdirectoriesby Fletch (Bishop) |
on Jul 19, 2006 at 02:54 UTC ( [id://562176]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|