perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Mallya" <mallyadee...@gmail.com>
Subject Converting a String of bits into a binary number in perl?
Date Sun, 04 Mar 2007 22:43:20 GMT
Hi,
    Can anyone tell me how do I convert a String of bits into a binary
number in Perl

For eg:- $a="100";  I want to convert this into perl's interpretation of
binary no ie $a=0b100


Thanks,
Deepak

Mime
View raw message