Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2017-11-18 07:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?