in reply to Net::SNMP and asn.1 constants

Constants are not interpolated into quoted strings (unless you use one of the tricks to interpolate code, e.g. "@{[OCTET_STRING]}".

Constants are actually implemented as subroutines (though the actual call is optimized away). Just as "x foo() y" doesn't call foo, "OCTET_STRING" is just a string, not a call to OCTET_STRING.