Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Confusion about code sample in perlfaq4

by thundergnat (Deacon)
on Feb 22, 2013 at 19:36 UTC ( #1020211=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @bits = split //, unpack "b*", $vec;
    
  2. or download this
    use integer;
    my $vec = 42;
    ...
    print " <-- bit positions set\n";
    print join ', ', @bits;
    print " <-- bits \n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2015-05-24 18:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (476 votes), past polls