|
|
| Just another Perl shrine | |
| PerlMonks |
Re: decimal to binaryby btrott (Parson) |
| on May 31, 2000 at 04:36 UTC ( [id://15579]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Here's a bintodec function:
Taken from the pack manpage. And this seems to work for a dectobin, although there's probably a faster way w/o using join:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||