in reply to convert string of chars and numerics to a numeric value

If you want a consistent value given an arbitrary string, I would suggest some sort of hashing algorithm, such as that embodied in the *ix sum program. Treating the string as a base-36 number is another possibility. For this you could use the Math::base36 module.

emc

Insisting on perfect safety is for people who don't have the balls to live in the real world.

—Mary Shafer, NASA Dryden Flight Research Center
  • Comment on Re: convert string of chars and numerics to a numeric value