The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'm confused about code sample from here: How do I manipulate arrays of bits? They say: ...given a vector in $vec , you can get those bits into your @ints array: and give following code as "fast general algorithm"
What are they trying to do with two lines starting with push operators? Don't they want to get a list "e.g. ( 1, 0, 0, 1, 1, 0 ... )" as stated in the beginning of that section, i.e. do reverse conversion? They can't do it with this code, do they? In reply to Confusion about code sample in perlfaq4 by vr
|
|