We don't bite newbies here... much | |
PerlMonks |
Re: convert to binary numberby anonymized user 468275 (Curate) |
on Jun 05, 2017 at 14:37 UTC ( [id://1192178]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|