[forwarded submission from a non-member address -- rjk]
From: Uri Guttman <[EMAIL PROTECTED]> Date: Tue, 13 Nov 2001 16:34:09 -0500 Subject: Re: [Boston.pm] binary, hexadecimal, decimal, oh my To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] >>>>> "GL" == Greg London <[EMAIL PROTECTED]> writes: GL> Is there a binary equivalent to the "hex" function? GL> I have a string that represents a binary value, GL> and I want to convert it to an integer value GL> and do some math with it. GL> if it were a hex string, I'd "hex" it. GL> what if its a binary string? in 5.6, oct will convert binary strings that start with 0b. and also in 5.6 pack will convert binary with the B/b formats. uri -- Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com -- Stem is an Open Source Network Development Toolkit and Application Suite - ----- Stem and Perl Development, Systems Architecture, Design and Coding ---- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org
