Names to ids

Simon Wistow simon at thegestalt.org
Wed Jan 25 13:40:29 GMT 2006


I need to turna filename into a numeric id in a repeatable manner (i.e 
the same filename must always produce the same number).  

My first thought (md5_hex the name and then hex the reuslt to get an 
integer) gets an overflow error unless I truncate to the first 8 
characters.

String::KoreMutake doesn't work because it can only taken certain 
phonemes. 

Any ideas?

Simon




More information about the london.pm mailing list