[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Converting a String of bits into a binary number in perl?
- Subject: Converting a String of bits into a binary number in perl?
- Date: Sun, 4 Mar 2007 16:43:20 -0600
- From: "Deepak Mallya" <suppressed>
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
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.