XP is just a number | |
PerlMonks |
Re: Working with Binary Numbersby shoness (Friar) |
on Sep 24, 2007 at 22:24 UTC ( [id://640836]=note: print w/replies, xml ) | Need Help?? |
Really outstanding! Thanks! Almost everyone suggested "map" which seems obvious to me now. "map" creates a list by operating on each element of another list. In this case, the "operation" is to expand the wildcards and/or convert the binary-to-decimal. Using "glob" to convert the wildcards was really clever. I didn't know about using "oct" for binary either! These are bit-vectors, so Bit::Vector is useful in other ways. Thanks Again!
In Section
Seekers of Perl Wisdom
|
|