Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Working with Binary Numbers

by shoness (Friar)
on Sep 24, 2007 at 22:24 UTC ( #640836=note: print w/replies, xml ) Need Help??


in reply to Working with Binary Numbers

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!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2020-10-29 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (269 votes). Check out past polls.

    Notices?