Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-12-29 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls