in reply to Convert SNMP Octet String to Array

From http://perldoc.perl.org/functions/vec.html
@bits = split(//, unpack("b*", $vector));