in reply to Access an imported constant via a variable that holds the name of it

Clearly this can be done with symrefs...
my $bah = "INTEGER"; snmpset("1.3.6.1.4.1.9.9.68.1.2.2.1.2.22","1.1.1.1","mystring",&$bah,1 +);
...but symrefs are nasty things so why not...
my $bah = INTEGER; snmpset("1.3.6.1.4.1.9.9.68.1.2.2.1.2.22","1.1.1.1","mystring",$bah,1) +;
...or...
my $bah = \&INTEGER; snmpset("1.3.6.1.4.1.9.9.68.1.2.2.1.2.22","1.1.1.1","mystring",&$bah,1 +);
...?