Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: hex to bin

by mt2k (Hermit)
on Nov 14, 2002 at 19:30 UTC ( #212972=note: print w/replies, xml ) Need Help??


in reply to Re: hex to bin
in thread hex to bin

Since you seem to have bin2num, here's bin2dec, taken straight from the pack() docs:

sub bin2dec { unpack("N", pack("B32", substr("0" x 32 . shift, -32))); }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://212972]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2022-08-18 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?