Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Confusion about code sample in perlfaq4

by thundergnat (Deacon)
on Feb 22, 2013 at 19:36 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1020211]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-23 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found