Greg London wrote: > I have a string that represents a binary value, > and I want to convert it to an integer value > and do some math with it. > > if it were a hex string, I'd "hex" it. > what if its a binary string? try perldoc -f oct it's just what you need peace, mike
- [Boston.pm] binary, hexadecimal, decimal, oh my Greg London
- Re: [Boston.pm] binary, hexadecimal, decimal, oh my Ronald J Kimball
- Re: [Boston.pm] binary, hexadecimal, decimal, oh... Chris Nandor
- Re: [Boston.pm] binary, hexadecimal, decimal, oh... Greg London
- Re: [Boston.pm] binary, hexadecimal, decimal, oh my Uri Guttman
- Re: [Boston.pm] binary, hexadecimal, decimal, oh my Chris Nandor
- RE: [Boston.pm] binary, hexadecimal, decimal, oh my Mike Williams
- RE: [Boston.pm] binary, hexadecimal, decimal, oh my Tolkin, Steve
