Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: convert to binary number

by anonymized user 468275 (Curate)
on Jun 05, 2017 at 14:37 UTC ( [id://1192178]=note: print w/replies, xml ) Need Help??


in reply to convert to binary number

Well, it is normally a binary number already, but not if it's embedded in something that Perl will treat as a string. For example an IP address expressed with 3 dot delimiters between four numbers and you want to convert the whole thing to one binary number. But yes, lookup pack in perldoc as choroba suggests.

One world, one people

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found