Update: No. Assuming the YML file had INTEGER in it, then $snmpConf->{$oid}{type} will just be the string "INTEGER". I think your idea to eval it should work.
Maybe:
($snmpConf->{$oid}{type} + 0);
In reply to Re: Use hash variable as constant
by RonW
in thread Use hash variable as constant
by Virus2500
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |