Names to ids

On Wed, Jan 25, 2006 at 01:40:29PM +0000, Simon Wistow wrote:
> 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.
Or use Math::BigInt.
--